mirror of
https://github.com/Dummi26/rembackup.git
synced 2025-05-17 00:36:14 +02:00
12 lines
281 B
Rust
Executable File
12 lines
281 B
Rust
Executable File
use std::path::PathBuf;
|
|
|
|
use crate::indexfile::IndexFile;
|
|
|
|
#[derive(Debug)]
|
|
pub enum IndexChange {
|
|
/// Ensure a directory with this path exists (at least if all its parent directories exist).
|
|
AddDir(PathBuf),
|
|
/// Add or update a file
|
|
AddFile(PathBuf, IndexFile),
|
|
}
|