package
1.57.1
Repository: https://github.com/containers/storage.git
Documentation: pkg.go.dev

# Functions

CopyFile copies from src to dst until either EOF is reached on src or an error occurs.
CreateIfNotExists creates a file or a directory only if it does not already exist.
Exists checks whether a file or directory exists at the given path.
GetTotalUsedFds Returns the number of used File Descriptors by reading it via /proc filesystem.
Lexists checks whether a file or directory exists at the given path.
Matches returns true if file matches any of the patterns and isn't excluded by any of the subsequent patterns.
NewPatternMatcher creates a new matcher object for specific patterns that can be used later to match against patterns against paths.
ReadSymlinkedDirectory returns the target directory of a symlink.
ReadSymlinkedPath returns the target directory of a symlink.

# Structs

No description provided by the author
Pattern defines a single regexp used to filter file paths.
PatternMatcher allows checking paths against a list of patterns.