Documentation
¶
Overview ¶
Package alias provides unprefixed names for the find command and its flags.
import find "github.com/gloo-foo/cmd-find/alias"
find.Find("/root", find.Name("*.go"), find.TypeFile)
Index ¶
Constants ¶
View Source
const TypeDir = command.FindTypeDir
TypeDir keeps only directories (-type d).
View Source
const TypeFile = command.FindTypeFile
TypeFile keeps only regular files (-type f).
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MaxDepth ¶
type MaxDepth = command.FindMaxDepth
MaxDepth limits the walk depth relative to the root (-maxdepth).
Click to show internal directories.
Click to hide internal directories.