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.