Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create subdirectories for Deno.openKv calls #62

Open
mcgear opened this issue Jan 1, 2024 · 0 comments
Open

Create subdirectories for Deno.openKv calls #62

mcgear opened this issue Jan 1, 2024 · 0 comments

Comments

@mcgear
Copy link

mcgear commented Jan 1, 2024

My rust skills are garbage, otherwise i would just provide a PR.

The issue i am facing is that if i try to open a KV instance in a sub directory, it fails if the directory doesn't exist

const denoKv = await Deno.openKv('./denokv/deno.db');

To get around this, we create a ./denokv/.gitkeep file, but it would be nice if it worked with sub directories out of the box by creating the directory if it does not exist.

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

No branches or pull requests

1 participant