Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a silent fail if path is a file #1034 (Windows only). #1054

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TobiasRzepka
Copy link

@TobiasRzepka TobiasRzepka commented Jul 28, 2024

CreateFileW can only track directories, not files. In case of files, start tracking the directory and filter out files which are not tracked.

Fixes #1034.

@TobiasRzepka
Copy link
Author

Use cache for "is file". Rebased and squashed.

@TobiasRzepka
Copy link
Author

@BoboTiG : Anything else what I missed?

@BoboTiG
Copy link
Collaborator

BoboTiG commented Nov 6, 2024

Thanks for your work @TobiasRzepka, it's taking time because I am not sure about the implementation. I am a little bit concerned about potential performances impact. I might come again later with some free time, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

silently fails if path is file
2 participants