Function open

Source
pub async fn open(
    filepath: &PathBuf,
    expected_identifier: &str,
) -> Result<AtomicFile, Error>
Expand description

open is a convenience wrapper for open_file which uses ‘1’ as the version, an empty vector as the upgrade path, and ErrorIfNotExists as the open setting.