Implement StorageBackend::new()

This commit is contained in:
Matthias Beyer 2015-11-10 20:53:35 +01:00
parent 9cff6772c8
commit 42ac04c1a8

View file

@ -16,7 +16,11 @@ pub struct StorageBackend<'a> {
impl<'a> 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)> { fn getFileList() -> Vec<(String, FileID)> {