Skip to content

Commit

Permalink
Fix without_dat
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Mar 1, 2024
1 parent cb48200 commit d5598c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/store/filestore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ impl<S: Store> ClientFilestore<S> {
/// Unlike [`ClientFilestore::new`](), it does not have the `dat` intermediary.
/// It is meant to be used by custom backends to save space in case the `dat` folder is not used and only wastes a littlefs block.
pub fn new_raw(client_id: PathBuf, store: S) -> Self {
let mut base = client_id;
base.push(path!("dat"));
let base = client_id;
Self { base, store }
}

Expand Down

0 comments on commit d5598c6

Please sign in to comment.