Skip to content

Handle renaming a watched directory on Linux #47

@wolfs

Description

@wolfs

Linux sends the 0x800 event (IN_MOVE_SELF), when renaming a watched directory. Currently, we treat that event as an unknown event. We could handle it as well as REMOVED/CREATED.

See this test: https://github.com/gradle/native-platform/blob/a3ffd864a564290df13303096e1c562192bfbe6e/src/test/groovy/net/rubygrapefruit/platform/file/BasicFileEventFunctionsTest.groovy#L353-L367

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