hawk icon indicating copy to clipboard operation
hawk copied to clipboard

Moving directories causes wrong paths in File objects

Open jacobemcken opened this issue 4 years ago • 0 comments

I've reproduced the problem on Linux with the following directory structure (mkdir -p A/{B,C}):

+---A
    +---B
    \---C

Now watch dir A and run the following commands:

cd A
mkdir B/X
mv B/X/ C/
touch C/X/hello

Expected result: File object in create event should use the path .../A/C/X/hello

Actual result: File object in create event uses the path .../A/B/X/hello (Notice the B instead of a C).

jacobemcken avatar Aug 11 '21 14:08 jacobemcken