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

Support locking of directory entries #137

Open
a-sully opened this issue Jun 21, 2023 · 0 comments · May be fixed by #139
Open

Support locking of directory entries #137

a-sully opened this issue Jun 21, 2023 · 0 comments · May be fixed by #139

Comments

@a-sully
Copy link
Collaborator

a-sully commented Jun 21, 2023

Currently, a lock may only be taken on a file entry. This should be extended to support locking directories, too.

This is one of the proposed changes to support #34, but it's also needed to properly support operations which modify a directory (such as remove() #9, removeEntry(), and move() #10 of directories)

Operations which modify a directory should require taking an exclusive lock on the directory, which should only succeed if no contained file is locked

nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Jul 6, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
@nathanmemmott nathanmemmott linked a pull request Jul 6, 2023 that will close this issue
4 tasks
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Jul 11, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Jul 11, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Jul 12, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Jul 12, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Jul 13, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Jul 13, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Jul 13, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Dec 9, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Dec 19, 2023
Moves the locking algorithm from file entry to file system entry.

Fixes whatwg#137
nathanmemmott pushed a commit to nathanmemmott/fs that referenced this issue Dec 20, 2023
Moves the locking algorithm from file entry to file system entry.

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

Successfully merging a pull request may close this issue.

1 participant