history is a better name for this file

This commit is contained in:
Adam Ierymenko 2022-10-11 12:23:17 -04:00
parent 949529a7ee
commit 7ca7d2bf3e
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3

View file

@ -39,7 +39,7 @@ fn member_path(base: &PathBuf, network_id: NetworkId, member_id: Address) -> Pat
impl FileDatabase {
pub async fn new<P: AsRef<Path>>(base_path: P) -> Result<Self, Box<dyn Error>> {
let base: PathBuf = base_path.as_ref().into();
let changelog = base.join("_old");
let changelog = base.join("_history");
let _ = fs::create_dir_all(&base).await?;
Ok(Self {
base_path: base,