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
Add
Fields of Add
line: LineId |
|
meta: FileMetadata |
|
inode: Inode |
|
Moved
Fields of Moved
inode: Inode |
|
Deleted
Fields of Deleted
inode: Inode |
|
Trait Implementations
impl Debug for InodeUpdate
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Hash for InodeUpdate
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for InodeUpdate
[src]
fn eq(&self, __arg_0: &InodeUpdate) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InodeUpdate) -> bool
[src]
This method tests for !=
.