diff --git a/src/storage/backend.rs b/src/storage/backend.rs index 587b54ae..e09a1a17 100644 --- a/src/storage/backend.rs +++ b/src/storage/backend.rs @@ -16,7 +16,11 @@ pub struct StorageBackend<'a> { impl<'a> StorageBackend<'a> { - fn new() -> StorageBackend<'a> { + fn new(bashpath: String, module: &'a Module) -> StorageBackend<'a> { + StorageBackend { + basepath: basepath, + module: module, + } } fn getFileList() -> Vec<(String, FileID)> {