recursivepaths

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: MIT Imports: 9 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 DirectoriesNormalizedExpand added in v0.3.8

func DirectoriesNormalizedExpand(
	rootPath string,
) *errstr.Results

func DirectoriesOptions added in v0.3.8

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

func DirectoriesOptionsExcept added in v0.3.8

func DirectoriesOptionsExcept(
	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 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 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(
	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 Filter

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

func FilterMust

func FilterMust(
	filter pathfuncs.Filter,
	rootPath string,
) []string

func FilterOptions added in v0.3.8

func FilterOptions(
	isNormalize, isExpandEnv bool,
	filter pathfuncs.Filter,
	rootPath string,
) *errstr.Results

func ReturnAsIs added in v0.3.8

func ReturnAsIs(
	isNormalize bool,
	isExpandEnv bool,
	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