# Packages
No description provided by the author
# Functions
No description provided by the author
Changes computes changes between two directories calling the given change function for each computed change.
CopyDir copies the directory from src to dst.
CopyFile copies the source file to the target.
No description provided by the author
DiffDirChanges walks the diff directory and compares changes against the base.
DiffUsage counts the numbers of inodes and disk usage in the diff between the 2 directories.
DiskUsage counts the number of inodes and disk usage for the resources under path.
GetLinkInfo returns an identifier representing the node a hardlink is pointing to.
GetMagic returns the filesystem id given the path.
No description provided by the author
RootPath joins a path with a root, evaluating and bounding any symlink to the root directory.
StatAtime returns the Atim.
StatATimeAsTime returns st.Atim as a time.Time.
StatCtime returns the Ctim.
StatMtime returns the Mtim.
SupportsDType returns whether the filesystem mounted on path supports d_type.
WithAllowXAttrErrors allows ignoring xattr errors.
WithXAttrErrorHandler allows specifying XAttrErrorHandler If nil XAttrErrorHandler is specified (default), CopyDir stops on a non-nil xattr error.
WithXAttrExclude allows for exclusion of specified xattr during CopyDir operation.
# Constants
ChangeKindAdd represents an addition of a file.
ChangeKindDelete represents a delete of a file.
ChangeKindModify represents a change to an existing file.
ChangeKindUnmodified represents an unmodified file.
DiffSourceOverlayFS indicates that a diff directory is from OverlayFS.
MagicAufs filesystem id for Aufs.
MagicBtrfs filesystem id for Btrfs.
MagicCramfs filesystem id for Cramfs.
MagicEcryptfs filesystem id for eCryptfs.
MagicExtfs filesystem id for Extfs.
MagicF2fs filesystem id for F2fs.
MagicGPFS filesystem id for GPFS.
MagicJffs2Fs filesystem if for Jffs2Fs.
MagicJfs filesystem id for Jfs.
MagicNfsFs filesystem id for NfsFs.
MagicOverlay filesystem id for overlay.
MagicRAMFs filesystem id for RamFs.
MagicReiserFs filesystem id for ReiserFs.
MagicSmbFs filesystem id for SmbFs.
MagicSquashFs filesystem id for SquashFs.
MagicTmpFs filesystem id for TmpFs.
MagicUnsupported is a predefined constant value other than a valid filesystem id.
MagicVxFS filesystem id for VxFs.
MagicXfs filesystem id for Xfs.
MagicZfs filesystem id for Zfs.
# Variables
FsNames maps filesystem id to name of the filesystem.
# Type aliases
ChangeFunc is the type of function called for each change computed during a directory changes calculation.
ChangeKind is the type of modification that a change is making.
No description provided by the author
DiffChangeSource is the source of diff directory.
Magic unsigned id of the filesystem in use.
XAttrErrorHandler transform a non-nil xattr error.