Skip to content

Moving directories causes wrong paths in File objects #31

@jacobemcken

Description

@jacobemcken

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions