notify icon indicating copy to clipboard operation
notify copied to clipboard

Support watching the same inode through multiple paths.

Open hugwijst opened this issue 11 months ago • 3 comments

Support watching the same inode through multiple paths.

As a single change event can now refer to multiple paths, use "path groups" for renames to differentiate sources and destinations.

Fixes #572.

hugwijst avatar Mar 08 '24 13:03 hugwijst

Ping @dfaust, @0xpr03. I'm wondering if there is a less intrusive solution?

hugwijst avatar Apr 03 '24 18:04 hugwijst

Ping @passcod, @dfaust, @0xpr03, would any of you be able to review?

The current implementation is buggy if the watched directory contains two hard or symbolic links to the same file. I can see an argument for symbolic links to not be followed at all, but something like this change is needed for hard links I think.

hugwijst avatar Aug 23 '24 17:08 hugwijst

After revisiting this PR I think the ignoring symlink while walking the directories is the better solution to my problem: #635. Some of the changes here might still be useful to handle hardlinks.

hugwijst avatar Aug 27 '24 00:08 hugwijst