package
0.5.11
Repository: https://github.com/opencoff/go-fio.git
Documentation: pkg.go.dev

# Functions

File clones src to dst - including all clonable file attributes and xattr.
CloneMetadata clones all the metadata from src to dst: the metadata is atime, mtime, uid, gid, mode/perm, xattr.
NopObserver implements Observer and throws away all input.
Tree clones the directory tree 'src' to 'dst' with options 'opt'.
UpdateMetadata writes new metadata of 'dst' from 'fi' The metadata that will be updated includes atime, mtime, uid/gid, mode/perm, xattr.
WithIgnoreAttr captures the attributes of fio.Info that must be ignored for comparing equality of two filesystem entries.
WithIgnoreMissing ensures that the cloner skips over files that disappear between the initial directory scan and concurrent differencing/copying.
WithObserver uses 'ob' to report activities as the tree cloner makes progress.
WithWalkOptions uses 'wo' as the option for walk.Walk(); it describes a caller desired traversal of the file system with the requisite input and output filters.

# Structs

Error represents the errors returned by CloneFile, CloneMetadata and UpdateMetadata.
FunnyEntry captures an error where the source and destination are not the same type (eg src is a file and dst is a directory).
FunnyError represents a clone error that fails to clone a directory tree because there are one or more funny entries in the Src and Dst.

# Interfaces

Observer is invoked when the tree cloner makes progress.

# Type aliases

No description provided by the author