Discover Packages
github.com/grailbio/reflow
internal
walker
package
Version:
v0.0.0-...-90deddd
Opens a new window with list of versions in this module.
Published: Oct 18, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Walker walks a recursive directory hierarchy, exposing a scanner-like interface.
Err returns the first error that occurred while scanning.
Info returns the os.FileInfo for the most recent path scanned.
Init initializes a walker to walk from a root path.
Path returns the most recent path that was scanned.
Relpath returns the most recent path that was scanned, relative to
the scan root directory.
Scan advances the walker to the next entry in the hierarchy.
It returns false either when the scan stops because we have
reached the end of the input or else because there was error.
After Scan returns, the Err method returns any error that occurred
during scanning.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.