mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-13 19:58:11 -07:00
committed by
Will Greenberg
parent
b0f5296c20
commit
df8a1f5606
@@ -116,13 +116,12 @@ impl RecordingStore {
|
|||||||
where
|
where
|
||||||
P: AsRef<Path>,
|
P: AsRef<Path>,
|
||||||
{
|
{
|
||||||
let manifest_path = path.as_ref().join("manifest.toml");
|
|
||||||
fs::create_dir_all(&path)
|
fs::create_dir_all(&path)
|
||||||
.await
|
.await
|
||||||
.map_err(RecordingStoreError::OpenDirError)?;
|
.map_err(RecordingStoreError::OpenDirError)?;
|
||||||
|
|
||||||
let mut store = RecordingStore {
|
let mut store = RecordingStore {
|
||||||
path: manifest_path,
|
path: path.as_ref().to_owned(),
|
||||||
manifest: Manifest {
|
manifest: Manifest {
|
||||||
entries: Vec::new()
|
entries: Vec::new()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user