This commit is contained in:
Toothbrush 2021-06-29 18:18:28 +01:00 committed by GitHub
parent 684391e444
commit c973a6d0af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -690,7 +690,7 @@ fn exclude_from_content_indexing(path: &Path) {
unsafe {
SetFileAttributesW(
path.as_ptr(),
GetFileAttributesW(path.as_ptr()) | FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
GetFileAttributesW(path.as_ptr()) | FILE_ATTRIBUTE_NOT_CONTENT_INDEXED,
);
}
}