# Packages
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
# Functions
GetDriver initializes and returns the registered driver.
GetFSMagic returns the filesystem id given the path.
New creates the driver and initializes it at the specified root.
NewNaiveDiffDriver returns a fully functional driver that wraps the given ProtoDriver and adds the capability of the following methods which it may or may not support on its own: Diff(id, parent string) (archive.Archive, error) Changes(id, parent string) ([]archive.Change, error) ApplyDiff(id, parent string, diff archive.Reader) (size int64, err error) DiffSize(id, parent string) (size int64, err error).
Register registers a InitFunc for the driver.
# Constants
FsMagicAufs filesystem id for Aufs.
FsMagicBtrfs filesystem id for Btrfs.
FsMagicCramfs filesystem id for Cramfs.
FsMagicExtfs filesystem id for Extfs.
FsMagicF2fs filesystem id for F2fs.
FsMagicGPFS filesystem id for GPFS.
FsMagicJffs2Fs filesystem if for Jffs2Fs.
FsMagicJfs filesystem id for Jfs.
FsMagicNfsFs filesystem id for NfsFs.
FsMagicRAMFs filesystem id for RamFs.
FsMagicReiserFs filesystem id for ReiserFs.
FsMagicSmbFs filesystem id for SmbFs.
FsMagicSquashFs filesystem id for SquashFs.
FsMagicTmpFs filesystem id for TmpFs.
FsMagicUnsupported is a predefined constant value other than a valid filesystem id.
FsMagicVxFS filesystem id for VxFs.
FsMagicXfs filesystem id for Xfs.
FsMagicZfs filesystem id for Zfs.
# Variables
ApplyUncompressedLayer defines the unpack method used by the graph driver.
ErrIncompatibleFS returned when file system is not supported.
ErrNotSupported returned when driver is not supported.
ErrPrerequisites retuned when driver does not meet prerequisites.
FsNames maps filesystem id to name of the filesystem.
# Structs
NaiveDiffDriver takes a ProtoDriver and adds the capability of the Diffing methods which it may or may not support on its own.
# Interfaces
Driver is the interface for layered/snapshot file system drivers.
ProtoDriver defines the basic capabilities of a driver.