add file listing to database abstraction.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-03-22 19:37:36 -07:00 committed by June
parent bdf3997de5
commit 6b1933914d
4 changed files with 29 additions and 0 deletions

View file

@ -37,4 +37,5 @@ pub trait Data: Send + Sync {
fn bump_database_version(&self, new_version: u64) -> Result<()>;
fn backup(&self) -> Result<(), Box<dyn Error>> { unimplemented!() }
fn backup_list(&self) -> Result<String> { Ok(String::new()) }
fn file_list(&self) -> Result<String> { Ok(String::new()) }
}