stubbed some methods for db interaction
This commit is contained in:
parent
bbb611c77c
commit
4d0dfc1df4
@ -1,4 +1,4 @@
|
|||||||
use std::fmt;
|
use std::{fmt, path::PathBuf};
|
||||||
|
|
||||||
use {
|
use {
|
||||||
crate::{Package, Repository, Version},
|
crate::{Package, Repository, Version},
|
||||||
@ -91,4 +91,16 @@ impl Database {
|
|||||||
}
|
}
|
||||||
Ok(updates)
|
Ok(updates)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn from_file(prefix: Option<PathBuf>) -> Result<File, Box<dyne Error>> {
|
||||||
|
unimplemented!();
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn save_to_file(prefix: Option<PathBuf>) -> Result<(), Box<dyn Error>> {
|
||||||
|
unimplemented!();
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn rebuild(prefix: Option<PathBuf>) -> Result<(), Box<dyn Error>> {
|
||||||
|
unimplemented!();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user