Crate sendstream_parser

Source
Expand description

Rust parser for BTRFS Sendstreams which are created via btrfs-send.

Structs§

Atime
Chmod
Chown
Clone
CloneLen
Ctime
Ctransid
Data
FileOffset
Ino
Link
LinkTarget
Mkdir
Mkfifo
Mkfile
Mknod
Mksock
Mkspecial
Mode
Mtime
Rdev
RemoveXattr
Rename
Rmdir
Sendstream
This is the main entrypoint of this crate. It provides access to the sequence of Commands that make up this sendstream.
SetXattr
Snapshot
Subvol
Symlink
TemporaryPath
Because the stream is emitted in inode order, not FS order, the destination directory may not exist at the time that a creation command is emitted, so it will end up with an opaque name that will end up getting renamed to the final name later in the stream.
Truncate
Unlink
UpdateExtent
Utimes
Write
XattrData
XattrName

Enums§

Command
Error

Type Aliases§

Result