package
0.14.55-rc.2
Repository: https://github.com/incercadi/syncthing.git
Documentation: pkg.go.dev

# Functions

Canonicalize checks that the file path is valid and returns it in the "canonical" form: - /foo/bar -> foo/bar - / -> ".".
No description provided by the author
IsInternal returns true if the file, as a path relative to the folder root, represents an internal file that should always be ignored.
No description provided by the author
IsTemporary is true if the file name has the temporary prefix.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

default is basic.
No description provided by the author
Should probably not be necessary to be used in filesystem interface implementation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
IsExist is the equivalent of os.IsExist.
IsNotExist is the equivalent of os.IsNotExist.
IsPathSeparator is the equivalent of os.IsPathSeparator.
IsPermission is the equivalent of os.IsPermission.
SkipDir is used as a return value from WalkFuncs to indicate that the directory named in the call is to be skipped.
No description provided by the author

# Structs

The BasicFilesystem implements all aspects by delegating to package os.
No description provided by the author
The MtimeFS is a filesystem with nanosecond mtime precision, regardless of what shenanigans the underlying filesystem gets up to.
Usage represents filesystem space usage.

# Interfaces

The File interface abstracts access to a regular file, being a somewhat smaller interface than os.File.
The FileInfo interface is almost the same as os.FileInfo, but with the Sys method removed (as we don't want to expose whatever is underlying) and with a couple of convenience methods added.
The Filesystem interface abstracts access to the file system.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
FileMode is similar to os.FileMode.
No description provided by the author
No description provided by the author
WalkFunc is the type of the function called for each file or directory visited by Walk.