• Home
  • Raw
  • Download

Lines Matching refs:Paths

69 func Glob(ctx EarlyModulePathContext, globPattern string, excludes []string) Paths {
79 func GlobFiles(ctx EarlyModulePathContext, globPattern string, excludes []string) Paths {
294 func (p OptionalPath) AsPaths() Paths {
298 return Paths{p.path}
321 type Paths []Path type
325 func (p Paths) RelativeToTop() Paths {
330 ret := make(Paths, len(p))
337 func (paths Paths) containsPath(path Path) bool {
348 func PathsForSource(ctx PathContext, paths []string) Paths {
349 ret := make(Paths, len(paths))
359 func ExistentPathsForSources(ctx PathContext, paths []string) Paths {
360 ret := make(Paths, 0, len(paths))
385 func PathsForModuleSrc(ctx ModuleMissingDepsPathContext, paths []string) Paths {
406 func PathsForModuleSrcExcludes(ctx ModuleMissingDepsPathContext, paths, excludes []string) Paths {
422 func (p OutputPaths) Paths() Paths { func
426 ret := make(Paths, len(p))
448 func getPathsFromModuleDep(ctx ModuleWithDepsPathContext, path, moduleName, tag string) (Paths, err…
466 return Paths{PathForOutput(ctx, rel).WithoutRel()}, nil
490 …psForModuleSrcExcludes(ctx ModuleWithDepsPathContext, paths, excludes []string) (Paths, []string) {
521 expandedSrcFiles := make(Paths, 0, len(paths))
546 …OneSrcPath(ctx ModuleWithDepsPathContext, sPath string, expandedExcludes []string) (Paths, error) {
547 excludePaths := func(paths Paths) Paths {
551 remainder := make(Paths, 0, len(paths))
580 return Paths{p}, nil
589 func pathsForModuleSrcFromFullPath(ctx EarlyModulePathContext, paths []string, incDirs bool) Paths {
594 ret := make(Paths, 0, len(paths))
620 …thOptionalDefaultForModuleSrc(ctx ModuleMissingDepsPathContext, input []string, def string) Paths {
631 func (p Paths) Strings() []string {
642 func CopyOfPaths(paths Paths) Paths { argument
643 return append(Paths(nil), paths...)
648 func FirstUniquePaths(list Paths) Paths { argument
658 func SortedUniquePaths(list Paths) Paths { argument
666 func firstUniquePathsList(list Paths) Paths { argument
681 func firstUniquePathsMap(list Paths) Paths { argument
736 func LastUniquePaths(list Paths) Paths { argument
753 func ReversePaths(list Paths) Paths { argument
757 ret := make(Paths, len(list))
795 func (p Paths) HasExt(ext string) bool {
806 func (p Paths) FilterByExt(ext string) Paths {
807 ret := make(Paths, 0, len(p))
817 func (p Paths) FilterOutByExt(ext string) Paths {
818 ret := make(Paths, 0, len(p))
830 type DirectorySortedPaths Paths
832 func PathsToDirectorySortedPaths(paths Paths) DirectorySortedPaths { argument
842 func (p DirectorySortedPaths) PathsInDirectory(dir string) Paths {
856 return Paths(ret)
889 func (p WritablePaths) Paths() Paths { func
893 ret := make(Paths, len(p))
1299 func PathsWithModuleSrcSubDir(ctx EarlyModulePathContext, paths Paths, subDir string) Paths { argument
1300 paths = append(Paths(nil), paths...)
1743 func (p InstallPaths) Paths() Paths { func
1747 ret := make(Paths, len(p))
1851 func PathsForTesting(strs ...string) Paths {
1852 p := make(Paths, len(strs))
2020 func PathsIfNonNil(paths ...Path) Paths {
2032 ret := make(Paths, 0, len(paths))