Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/ntfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Finck <colin@reactos.org>2021-08-25 19:50:09 +0300
committerColin Finck <colin@reactos.org>2021-08-25 19:50:09 +0300
commite3b68a3220de664c9d4638ecef416d39191ff91d (patch)
tree134e44d624295477604880b27f9aa7d2f1841fa2
parentb82f50ac7445b690c736ecb42f41d24a3ddc3ba1 (diff)
Add IS_DIRECTORY to NtfsFileAttributeFlags.
This enables to decide whether a $FILE_NAME Index Entry is a regular file or a directory without loading the FILE Record and looking up the $STANDARD_INFORMATION attribute for that entry first.
-rw-r--r--src/structured_values/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structured_values/mod.rs b/src/structured_values/mod.rs
index 2f9bbc8..a07764d 100644
--- a/src/structured_values/mod.rs
+++ b/src/structured_values/mod.rs
@@ -42,6 +42,7 @@ bitflags! {
const OFFLINE = 0x1000;
const NOT_CONTENT_INDEXED = 0x2000;
const ENCRYPTED = 0x4000;
+ const IS_DIRECTORY = 0x1000_0000;
}
}