Struct conserve::index::IndexEntry [] [src]

pub struct IndexEntry {
    pub apath: String,
    pub mtime: Option<u64>,
    pub kind: Kind,
    pub blake2b: Option<String>,
    pub addrs: Vec<Address>,
    pub target: Option<String>,
}

Description of one archived file.

This struct is directly encoded/decoded to the json index file.

Fields

Path of this entry relative to the base of the backup, in apath form.

File modification time, in whole seconds past the Unix epoch.

Type of file.

BLAKE2b hash of the entire original file, without salt.

Blocks holding the file contents.

For symlinks only, the target of the symlink.

Trait Implementations

impl Debug for IndexEntry
[src]

[src]

Formats the value using the given formatter.

impl Decodable for IndexEntry
[src]

[src]

Deserialize a value using a Decoder.

impl Encodable for IndexEntry
[src]

[src]

Serialize a value using an Encoder.

impl Entry for IndexEntry
[src]

[src]

Return apath relative to the top of the tree.

[src]

[src]

Return Unix-format mtime if known.

Target of the symlink, if this is a symlink.