pub fn new<P: AsRef<Path>>(snapshot_path: P) -> Self {
        Self {
            storage: Storage::new(snapshot_path),
        }
    }
/// Instantiates Stronghold
///
/// Use `snapshot_path` to set the snapshot file path
///
/// # Example
/// ```no_run
/// use stronghold::Stronghold;
/// let stronghold = Stronghold::new("savings.snapshot");
/// ```
Instantiates Stronghold
Use `snapshot_path` to set the snapshot file path
Instantiates Stronghold Use ` snapshot_path ` to set the snapshot file path
pub fn new<P: AsRef<Path>>(snapshot_path: P) -> Self {
        Self {
            storage: Storage::new(snapshot_path),
        }
    }
pub fn new < P : AsRef < Path > > ( snapshot_path : P ) -> Self { Self { storage : Storage :: new ( snapshot_path ) , } }
Instantiates Stronghold
Use `snapshot_path` to set the snapshot file path
Instantiates Stronghold Use ` snapshot_path ` to set the snapshot file path
snapshot_path
P
example
```no_run
use stronghold::Stronghold;
let stronghold = Stronghold::new("savings.snapshot");
```
` ` ` no_run use stronghold :: Stronghold ; let stronghold = Stronghold :: new ( " savings . snapshot " ) ; ` ` `