Implement StorageBackend::new()
This commit is contained in:
parent
9cff6772c8
commit
42ac04c1a8
1 changed files with 5 additions and 1 deletions
|
@ -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)> {
|
||||||
|
|
Loading…
Reference in a new issue