package
Version:
v1.47.2
Opens a new window with list of versions in this module.
Published: Nov 14, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package filepathext provides filepath utilities.
RealClean does filepath.Clean and filepath.FromSlash,
but also handles ..'s in relative paths relative to the
current working directory.
As an example, if we are in proto, and we pass in
../proto/foo, RealClean will return foo.
Walk walks the walkPath.
This is analogous to filepath.Walk, but optionally follows symlinks.
type WalkOption func(*walkOptions)
WalkOption is an option for Walk.
WalkWithSymlinks returns a WalkOption that results in Walk following symlinks.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.