| 408 | /// An entry in the archive manifest. |
| 409 | #[derive(Debug, Clone)] |
| 410 | pub struct ArchiveEntry { |
| 411 | /// Path in the archive. |
| 412 | pub path: String, |
| 413 | |
| 414 | /// Whether this is a directory. |
| 415 | pub is_directory: bool, |
| 416 | |
| 417 | /// File size in bytes (0 for directories). |
| 418 | pub size: u64, |
| 419 | |
| 420 | /// File permissions (Unix mode). |
| 421 | pub mode: u32, |
| 422 | |
| 423 | /// Modification timestamp. |
| 424 | pub mtime: DateTime<Utc>, |
| 425 | |
| 426 | /// Inode identifier from the repository. |
| 427 | pub inode: Option<Inode>, |
| 428 | } |
| 429 | |
| 430 | impl ArchiveEntry { |
| 431 | /// Create a file entry. |
nothing calls this directly
no outgoing calls
no test coverage detected