| 486 | /// [`Change`]: crate::change::Change |
| 487 | #[derive(Debug)] |
| 488 | pub 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 | |
| 508 | impl Recorded { |
| 509 | /// Check if no hunks were recorded. |