Versions in this module Expand all Collapse all v2 v2.3.1 May 25, 2026 Changes in this version + func CopyFileIfExists(fs afero.Fs, src, dst string) error + func CopyFilesBetweenFs(fromFS, toFS afero.Fs) error + func CopyFolder(fs afero.Fs, sourceDir, targetDir string) error + func CreateSymlink(targetFS *afero.BasePathFs, targetPath string, sourceFS *afero.BasePathFs, ...) error + func FSToTar(f afero.Fs, prefix string, opts ...FSToTarOption) ([]byte, error) + func FindNestedFoldersWithPattern(fs afero.Fs, root string, pattern string) ([]string, error) + func FullPath(fs afero.Fs, path string) string + func MemOverlay(fs afero.Fs) afero.Fs + func Walk(fs afero.Fs, root string, walkFn filepath.WalkFunc) error + type FSToTarOption func(*fsToTarConfig) + func WithExcludePrefix(prefix string) FSToTarOption + func WithGIDOverride(gid int) FSToTarOption + func WithSymlinkBasePath(bp string) FSToTarOption + func WithUIDOverride(uid int) FSToTarOption v2.3.0 May 21, 2026