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

file-id: Get file stats without read permission #639

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

dfaust
Copy link
Member

@dfaust dfaust commented Sep 15, 2024

The dwDesiredAccess parameter can be zero, allowing the application to query file attributes without accessing the file if the application is running with adequate security settings. This is useful to test for the existence of a file without opening it for read and/or write access, or to obtain other statistics about the file or directory.

Closes #625.

@0xpr03 0xpr03 merged commit 2cd5aea into notify-rs:main Sep 29, 2024
13 checks passed
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.

Open file with zero access mode read permissions in file-id crate
2 participants