Skip to content

Confusion about Remove when combined with Add vs AddRaw #387

@nshalman

Description

@nshalman

Please describe the issue that occurred.

While porting #371 to support AddRaw from #289 I run into the following conundrum:

If I AddRaw a symlink, I can Remove that symlink from being watched just fine.
If I Add a symlink, I cannot Remove the symlink directly, but would have to resolve it first.

What should fsnotify do?

Are you able to reproduce the issue? Please provide steps to reproduce and a code sample if possible.

See the test case added in #388

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions