package
1.13.1
Repository: https://github.com/react-vue-devel/moby.git
Documentation: pkg.go.dev

# Functions

CleanPatterns takes a slice of patterns returns a new slice of patterns cleaned with filepath.Clean, stripped of any empty patterns and lets the caller know whether the slice contains any exception patterns (prefixed with !).
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.
GetTotalUsedFds Returns the number of used File Descriptors by reading it via /proc filesystem.
Matches returns true if file matches any of the patterns and isn't excluded by any of the subsequent patterns.
OptimizedMatches is basically the same as fileutils.Matches() but optimized for archive.go.
ReadSymlinkedDirectory returns the target directory of a symlink.