summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-06-13 09:04:14 +0200
committerGitHub <noreply@github.com>2017-06-13 09:04:14 +0200
commitc4d4fe938937a2cb27d404fb1d026f234c50b9ac (patch)
tree4b865a8e4595f1a61909d649272ffb41cf67819e
parenta9d2d7c3545ab424cf1c6d2ebeea827616a924fe (diff)
parentac8ea872cbfc21039de3f31ce16c7bdab2d4b611 (diff)
downloadimag-c4d4fe938937a2cb27d404fb1d026f234c50b9ac.zip
imag-c4d4fe938937a2cb27d404fb1d026f234c50b9ac.tar.gz
Merge pull request #967 from matthiasbeyer/libimagstore/remove-todo-comment
Remove "TODO"-comment
-rw-r--r--libimagstore/src/file_abstraction.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/libimagstore/src/file_abstraction.rs b/libimagstore/src/file_abstraction.rs
index 7ca509d..81db7ca 100644
--- a/libimagstore/src/file_abstraction.rs
+++ b/libimagstore/src/file_abstraction.rs
@@ -83,10 +83,6 @@ pub use self::fs::FSFileAbstractionInstance;
pub use self::inmemory::InMemoryFileAbstraction;
pub use self::inmemory::InMemoryFileAbstractionInstance;
-// TODO:
-// This whole thing can be written better with a trait based mechanism that is embedded into the
-// store. However it would mean rewriting most things to be generic which can be a pain in the ass.
-
/// An abstraction trait over filesystem actions
pub trait FileAbstraction : Debug {
fn remove_file(&self, path: &PathBuf) -> Result<(), SE>;