Struct libpijul::record::Recorded[][src]

pub struct Recorded {
    pub contents: Arc<Mutex<Vec<u8>>>,
    pub actions: Vec<Hunk<Option<ChangeId>, Local>>,
    pub updatables: HashMap<usize, InodeUpdate>,
    pub largest_file: u64,
    pub has_binary_files: bool,
    pub oldest_change: SystemTime,
    pub redundant: Vec<(Vertex<ChangeId>, SerializedEdge)>,
    // some fields omitted
}
Expand description

The result of recording a change:

Fields

contents: Arc<Mutex<Vec<u8>>>

The “byte contents” of the change.

actions: Vec<Hunk<Option<ChangeId>, Local>>

The current records, to be lated converted into change operations.

updatables: HashMap<usize, InodeUpdate>

The updates that need to be made to the ~tree~ and ~revtree~ tables when this change is applied to the local repository.

largest_file: u64

The size of the largest file that was recorded in this change.

has_binary_files: bool

Whether we have recorded binary files.

oldest_change: SystemTime

Timestamp of the oldest changed file. If nothing changed, returns now().

redundant: Vec<(Vertex<ChangeId>, SerializedEdge)>

Redundant edges found during the comparison.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.