Enum libpijul::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. Read more

impl Hash for InodeUpdate
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for InodeUpdate
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for InodeUpdate
[src]

Auto Trait Implementations

impl Send for InodeUpdate

impl Sync for InodeUpdate