Enum libpijul_compat::InodeUpdate [] [src]

pub enum InodeUpdate {
    Add {
        line: LineId,
        meta: FileMetadata,
        inode: Inode,
    },
    Moved {
        inode: Inode,
    },
    Deleted {
        inode: Inode,
    },
}

An account of the files that have been added, moved or deleted, as returned by record, and used by apply (when applying a patch created locally) to update the trees and inodes databases.

Variants

Fields of Add

LineId in the new patch.

FileMetadata in the updated file.

Inode added by this file addition.

Fields of Moved

Inode of the moved file.

Fields of Deleted

Inode of the deleted file.

Trait Implementations

impl Debug for InodeUpdate
[src]

[src]

Formats the value using the given formatter.