Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolvePaths ¶
func ResolvePaths(paths []string, wl []util.IgnoreListEntry) (pathsToAdd []string, err error)
ResolvePaths takes a slice of file paths and a list of skipped file paths. It resolve each file path according to a set of rules and then returns a slice of resolved paths or error. File paths are resolved according to the following rules: * If path is in ignorelist, skip it. * If path is a symlink, resolve it's ancestor link and add it to the output set. * If path is a symlink, resolve it's target. If the target is not ignored add it to the output set. * Add all ancestors of each path to the output set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.