From 4d0dfc1df461dada1e837abef59752aadd1bc3d7 Mon Sep 17 00:00:00 2001 From: Nathan Fisher Date: Fri, 31 Mar 2023 12:23:48 -0400 Subject: [PATCH] stubbed some methods for db interaction --- src/db/mod.rs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/db/mod.rs b/src/db/mod.rs index 3db5222..2fbbfed 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -1,4 +1,4 @@ -use std::fmt; +use std::{fmt, path::PathBuf}; use { crate::{Package, Repository, Version}, @@ -91,4 +91,16 @@ impl Database { } Ok(updates) } + + pub fn from_file(prefix: Option) -> Result> { + unimplemented!(); + } + + pub fn save_to_file(prefix: Option) -> Result<(), Box> { + unimplemented!(); + } + + pub fn rebuild(prefix: Option) -> Result<(), Box> { + unimplemented!(); + } }