Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

storage-sqlite RepoOpener not creating path #78

Open
raccoman opened this issue Nov 14, 2022 · 0 comments
Open

storage-sqlite RepoOpener not creating path #78

raccoman opened this issue Nov 14, 2022 · 0 comments

Comments

@raccoman
Copy link

raccoman commented Nov 14, 2022

let repo_dir = format!("sqlite://{}/vaults/default.sqlite", "./my-app-data-dir/");

let mut repo = RepoOpener::new()
    .create(true)
    .open(&repo_dir, &master_password)
    .unwrap();

println!("Done! {}", repo_dir);

If path does not exist it will fail

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant