# Functions
No description provided by the author
FileExists checks if a file exists and is not a directory.
No description provided by the author
GlobRoot takes in a glob and tries to resolve the prefix of the glob such that the prefix exists in the filesystem.
InclusionsFromExtensions takes a list of file extensions and convert into a .gitgnore format inclusions list.
InclusionsFromFiles takes a list of file names convert into a .gitgnore format inclusions list.
ListFiles returns path of files and or folders under listPath inclusions/exclusions/recursion is defined by opts.
No description provided by the author
No description provided by the author
ResolveGlobRoots resolve the glob patter for each of the given root paths.
No description provided by the author
ShouldIncludePath returns whether the specified file path satisfies the inclusion and exclusion options (in .gitignore format) Note: it is expected the pattern will be absolute, i.e including the base path: /tmp/foo/**/*.json.
SplitPath splits the given path using the os.PathSeparator.
Tildefy converts ~ to home directory.
# Constants
No description provided by the author
No description provided by the author
Directories lists only directories.
No description provided by the author
No description provided by the author
Files lists only files.
No description provided by the author
No description provided by the author
Ignores empty directories.
Recursively traverses directories.
# Variables
No description provided by the author
# Structs
No description provided by the author