summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-12-05 18:45:13 +0200
committerLars Wirzenius <liw@liw.fi>2021-12-05 18:45:13 +0200
commit52513252bbfdf009d2471145d01cee1a6f451af9 (patch)
tree41d7f9448ccf3aee067a6cbd6cd6e9761aa920fd /src
parent4ae45e6fd17ca83603cb214025a2bf6149b46891 (diff)
downloadobnam-benchmark-52513252bbfdf009d2471145d01cee1a6f451af9.tar.gz
chore: drop unused function Change::execute
Sponsored-by: author
Diffstat (limited to 'src')
-rw-r--r--src/specification.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/specification.rs b/src/specification.rs
index 0234601..6bb72bc 100644
--- a/src/specification.rs
+++ b/src/specification.rs
@@ -143,14 +143,3 @@ impl Backup {
self.changes.iter()
}
}
-
-impl Change {
- pub fn execute(&self) -> Result<(), SpecificationError> {
- match self {
- Change::Create(x) => println!("create {} {}", x.files, x.file_size),
- Change::Rename(x) => println!("rename {}", x.files),
- Change::Delete(x) => println!("delete {}", x.files),
- }
- Ok(())
- }
-}