# Functions
Abs returns an absolute representation of path.
Exists checks if the provided path exists on the filesystem.
IsDir checks if the provided path is a directory.
JoinFilePath is a wrapper around filepath.Join starting go 1.20 on Windows, Clean (that is using inside the filepath.Join) does not modify the volume name other than to replace occurrences of "/" with `\`.
NewCacheOnReadFs returns a new CacheOnReadFs.
NewChangePathFs return a ChangePathFs where all paths will be change with the provided funcs.
NewMemMapFs returns a Fs that is in memory.
NewOsFs returns a new wrapps os.Fs.
NewReadOnlyFs returns a Fs wrapping the provided one and returning error on any not read operation.
NewTrimFilePathSeparatorFs is ChangePathFs that trims a Afero.FilePathSeparator from all paths Heavily based on afero.BasePathFs.
ReadDir reads the info for each file in the provided dirname.
ReadFile reads the whole file from the filesystem.
Walk implements afero.Walk, but in a way that it doesn't loop to infinity and doesn't have problems if a given path part looks like a windows volume name.
WriteFile writes the provided data to the provided fs in the provided filename.
# Constants
FilePathSeparator is the FilePathSeparator to be used within a file system.
# Variables
ErrPathNeverRequestedBefore represent an error when path never opened/requested before.
# Structs
CacheOnReadFs is wrapper around afero.CacheOnReadFs with the ability to return the filesystem that is used as cache.
ChangePathFile is a file from ChangePathFs.
ChangePathFs is a filesystem that wraps another afero.Fs and changes all given paths from all file and directory names, with a function, before calling the same method on the wrapped afero.Fs.
# Interfaces
CacheLayerGetter provide a direct access to a cache layer.
OnlyCachedEnabler enables the mode of FS that allows to open already opened files (e.g.
# Type aliases
ChangePathFunc is the function that will be called by ChangePathFs to change the path.
Fs represents a file system.