Skip to content

Support locking of directory entries #137

Description

@a-sully

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions