stubbed some methods for db interaction

This commit is contained in:
Nathan Fisher 2023-03-31 12:23:48 -04:00
parent bbb611c77c
commit 4d0dfc1df4

View File

@ -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!();
}
} }