Skip to content

Create file/directory with error if it already exists #13

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

Open
a-sully opened this issue Mar 7, 2022 · 0 comments
Open

Create file/directory with error if it already exists #13

a-sully opened this issue Mar 7, 2022 · 0 comments

Comments

@a-sully
Copy link
Collaborator

a-sully commented Mar 7, 2022

Migrated from WICG/file-system-access#107 (see #2)

This could be used by code that wants to create a unique temporary file/directory. The code would generate names by adding a sequence number to a fixed prefix ("temp001"), and stop when it's able to create a new file/directory (as opposed to opening an already existing one).

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

No branches or pull requests

1 participant