recursivepaths

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(rootPath string) *errstr.Results

func AllIf added in v0.3.8

func AllIf(
	isRecursive bool,
	rootPath string,
) *errstr.Results

func AllMust

func AllMust(rootPath string) []string

func AllNormalizedExpand added in v0.3.8

func AllNormalizedExpand(rootPath string) *errstr.Results

func AllOfLocationsIf added in v0.3.8

func AllOfLocationsIf(
	isRecursive bool,
	isContinueOnError bool,
	locations []string,
) *errstr.Results

AllOfLocationsIf recursive all (files + dirs) recursive locations of given locations by expanding using file walk.

func AllOptions added in v0.3.8

func AllOptions(
	isNormalize, isExpandEnv bool,
	rootPath string,
) *errstr.Results

func AllOptionsExcept added in v0.3.8

func AllOptionsExcept(
	isNormalize,
	isExpandEnv bool,
	skipRootNames []string,
	skipPaths []string,
	rootPath string,
) *errstr.Results

func AllOptionsIf added in v0.3.8

func AllOptionsIf(
	isRecursive bool,
	isNormalize,
	isExpandEnv bool,
	rootPath string,
) *errstr.Results

func Directories added in v0.3.8

func Directories(
	rootPath string,
) *errstr.Results

func DirectoriesNonRecursive added in v0.4.3

func DirectoriesNonRecursive(
	rootPath string,
) *errstr.Results

func DirectoriesNormalizedExpand added in v0.3.8

func DirectoriesNormalizedExpand(
	rootPath string,
) *errstr.Results

func DirectoriesOptions added in v0.3.8

func DirectoriesOptions(
	isRecursive,
	isNormalize,
	isExpandEnv bool,
	rootPath string,
) *errstr.Results

func DirectoriesOptionsExcept added in v0.3.8

func DirectoriesOptionsExcept(
	isRecursive,
	isNormalize,
	isExpandEnv bool,
	skipRootNames []string,
	skipPaths []string,
	rootPath string,
) *errstr.Results

func DirsOfLocationsIf added in v0.3.8

func DirsOfLocationsIf(
	isRecursive bool,
	isContinueOnError bool,
	locations []string,
) *errstr.Results

DirsOfLocationsIf recursive all directories recursive locations of given locations by expanding using file walk.

func Files

func Files(rootPath string) *errstr.Results

Files normalize, expand false

func FilesExtensionFilter added in v0.5.2

func FilesExtensionFilter(
	isRecursive bool,
	rootPath string,
	filteringDotExtensions ...string,
) *errstr.Results

func FilesIncludingSelf added in v0.3.8

func FilesIncludingSelf(
	isNormalize,
	isExpandEnv bool,
	rootPath string,
) *errstr.Results

FilesIncludingSelf includes given path

func FilesMust

func FilesMust(rootPath string) []string

func FilesNonRecursive added in v0.4.3

func FilesNonRecursive(rootPath string) *errstr.Results

FilesNonRecursive normalize, expand false

func FilesNormalizeExpand added in v0.3.8

func FilesNormalizeExpand(rootPath string) *errstr.Results

func FilesOfLocationsIf added in v0.3.8

func FilesOfLocationsIf(
	isRecursive bool,
	isContinueOnError bool,
	locations []string,
) *errstr.Results

FilesOfLocationsIf recursive all files recursive locations of given locations by expanding using file walk.

func FilesOptions added in v0.3.8

func FilesOptions(
	isRecursive,
	isNormalize,
	isExpandEnv bool,
	rootPath string,
) *errstr.Results

func FilesOptionsExcept added in v0.3.8

func FilesOptionsExcept(
	isNormalize,
	isExpandEnv bool,
	skipRootNames []string,
	skipPaths []string,
	rootPath string,
) *errstr.Results

func FilesPlusDirsByName added in v0.5.2

func FilesPlusDirsByName(
	isRecursive bool,
	rootPath string,
) *errstr.Results

func FilterDirsByName added in v0.5.2

func FilterDirsByName(
	isRecursive bool,
	rootPath string,
	acceptingDirNames ...string,
) *errstr.Results

func ReturnAsIs added in v0.3.8

func ReturnAsIs(
	isNormalize bool,
	isExpandEnv bool,
	rootPath string,
) *errstr.Results

func SimpleFilter added in v0.5.2

func SimpleFilter(
	filter pathfuncs.SimpleFilter,
	rootPath string,
) *errstr.Results

func SimpleFilterDirsOptions added in v0.5.2

func SimpleFilterDirsOptions(
	isRecursive,
	isNormalize, isExpandEnv bool,
	filter pathfuncs.SimpleFilter,
	rootPath string,
) *errstr.Results

func SimpleFilterFilesOptions added in v0.5.2

func SimpleFilterFilesOptions(
	isNormalize, isExpandEnv bool,
	filter pathfuncs.SimpleFilter,
	rootPath string,
) *errstr.Results

func SimpleFilterFilesOptionsAsync added in v0.5.2

func SimpleFilterFilesOptionsAsync(
	isRecursive,
	isNormalize, isExpandEnv bool,
	filter pathfuncs.SimpleFilter,
	rootPath string,
) *errstr.Results

func SimpleFilterFilesOptionsIf added in v0.5.2

func SimpleFilterFilesOptionsIf(
	isRecursive,
	isNormalize, isExpandEnv bool,
	filter pathfuncs.SimpleFilter,
	rootPath string,
) *errstr.Results

func SimpleFilterFilesPlusDirsByName added in v0.5.2

func SimpleFilterFilesPlusDirsByName(
	isRecursive bool,
	excludingRootName []string,
	excludingPaths []string,
	filter pathfuncs.SimpleFilter,
	rootPath string,
) *errstr.Results

func SimpleFilterFullPaths added in v0.5.2

func SimpleFilterFullPaths(
	filter pathfuncs.SimpleFilter,
	fullPaths ...string,
) *errstr.Results

func SimpleFilterMust added in v0.5.2

func SimpleFilterMust(
	filter pathfuncs.SimpleFilter,
	rootPath string,
) []string

func SimpleFilterNonRecursiveDirs added in v0.5.2

func SimpleFilterNonRecursiveDirs(
	simpleFilter pathfuncs.SimpleFilter,
	rootPath string,
) *errstr.Results

SimpleFilterNonRecursiveDirs normalize, expand false

func SimpleFilterNonRecursiveFiles added in v0.5.2

func SimpleFilterNonRecursiveFiles(
	simpleFilter pathfuncs.SimpleFilter,
	rootPath string,
) *errstr.Results

SimpleFilterNonRecursiveFiles normalize, expand false

func SimpleFilterOptions added in v0.5.2

func SimpleFilterOptions(
	isNormalize, isExpandEnv bool,
	filter pathfuncs.SimpleFilter,
	rootPath string,
) *errstr.Results

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL