diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-12-05 18:45:13 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-12-05 18:45:13 +0200 |
commit | 52513252bbfdf009d2471145d01cee1a6f451af9 (patch) | |
tree | 41d7f9448ccf3aee067a6cbd6cd6e9761aa920fd | |
parent | 4ae45e6fd17ca83603cb214025a2bf6149b46891 (diff) | |
download | obnam-benchmark-52513252bbfdf009d2471145d01cee1a6f451af9.tar.gz |
chore: drop unused function Change::execute
Sponsored-by: author
-rw-r--r-- | src/specification.rs | 11 |
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(()) - } -} |