MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / Recorded

Class Recorded

atomic-core/src/record/builder.rs:488–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486/// [`Change`]: crate::change::Change
487#[derive(Debug)]
488pub struct Recorded {
489 /// The recorded hunks (file operations).
490 actions: Vec<GraphOp<Option<Hash>>>,
491
492 /// Raw byte contents referenced by hunks.
493 contents: Vec<u8>,
494
495 /// Inode updates for database maintenance.
496 updatables: HashMap<usize, InodeUpdate>,
497
498 /// The largest file size encountered.
499 largest_file: u64,
500
501 /// Whether any binary files were recorded.
502 has_binary_files: bool,
503
504 /// The oldest modification time.
505 oldest_change: SystemTime,
506}
507
508impl Recorded {
509 /// Check if no hunks were recorded.

Callers 1

recordMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected