-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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: FileSystemEntry.Attributes property is not correct on Unix #52235
Commits on May 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 739bb27 - Browse repository at this point
Copy the full SHA 739bb27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3175324 - Browse repository at this point
Copy the full SHA 3175324View commit details -
Remove the _initialAttributes field from FileStatus. Directly call _s…
…tatus.GetAttributes from FileSYstemEntry.Attributes since the disk hit is necessary anyway.
carlossanlop authored and carlossanlop committedMay 4, 2021 Configuration menu - View commit details
-
Copy full SHA for 8c23640 - Browse repository at this point
Copy the full SHA 8c23640View commit details -
Address simplication and nullcheck suggestions
carlossanlop authored and carlossanlop committedMay 4, 2021 Configuration menu - View commit details
-
Copy full SHA for 6ff6dcc - Browse repository at this point
Copy the full SHA 6ff6dccView commit details
Commits on May 5, 2021
-
Defering some more file checking actions to FileStatus. Addressing ac…
…cessibility of methods/properties. Addressing suggestions.
carlossanlop authored and carlossanlop committedMay 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 2423af0 - Browse repository at this point
Copy the full SHA 2423af0View commit details
Commits on May 7, 2021
-
Address feedback: Remove unnecessary asserts but document why. Remove…
… struct initialization. Simplify the order in which Initialize checks for unknown and symlink and add a comment.
carlossanlop authored and carlossanlop committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 7de7c4a - Browse repository at this point
Copy the full SHA 7de7c4aView commit details -
Cache egid and euid, and refresh should reset them
carlossanlop authored and carlossanlop committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 52a7b69 - Browse repository at this point
Copy the full SHA 52a7b69View commit details -
Check IsNameHidden before ensuring cache initialized and checking Has…
…HiddenFlag.
carlossanlop authored and carlossanlop committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 7d9dac0 - Browse repository at this point
Copy the full SHA 7d9dac0View commit details -
The ifs inside FileSystemEntry.Initialize has two mutually exclusive …
…conditions: symlink and unknown, so use else if.
carlossanlop authored and carlossanlop committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for e2a05d8 - Browse repository at this point
Copy the full SHA e2a05d8View commit details -
Use entry.IsSymbolicLink directly inside Initialize.
carlossanlop authored and carlossanlop committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for c7d83ed - Browse repository at this point
Copy the full SHA c7d83edView commit details -
Remove extra symlink check in FileSystemEnumerator.MoveNext, not need…
…ed and could cause unnecessary disk hit.
carlossanlop authored and carlossanlop committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 3b69e81 - Browse repository at this point
Copy the full SHA 3b69e81View commit details -
carlossanlop authored and carlossanlop committed
May 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 3105cb8 - Browse repository at this point
Copy the full SHA 3105cb8View commit details -
Use HasHiddenFlag as expression body
carlossanlop authored and carlossanlop committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for c40386c - Browse repository at this point
Copy the full SHA c40386cView commit details -
No need to soft retrieve hidden and read-only in FileSystemEntry.Init…
…ialize if in AttributesToSkip we are going to retrieve it anyway with a disk hit. Only in the case of DT_UNKNOWN, we will pre-retrieve the file cache, but we only need it when ShouldSkip is checked, and in that case, we won't have a disk hit.
carlossanlop authored and carlossanlop committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 1d96271 - Browse repository at this point
Copy the full SHA 1d96271View commit details -
Make FileStatus.Initialize inlined in the only place where its called.
carlossanlop authored and carlossanlop committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 7f6cee4 - Browse repository at this point
Copy the full SHA 7f6cee4View commit details
Commits on May 8, 2021
-
EnsureCacheInitialized bring back order of conditions
carlossanlop authored and carlossanlop committedMay 8, 2021 Configuration menu - View commit details
-
Copy full SHA for c4c3682 - Browse repository at this point
Copy the full SHA c4c3682View commit details -
Syntax sugar for nullable egid and euid lazy retrieval
carlossanlop authored and carlossanlop committedMay 8, 2021 Configuration menu - View commit details
-
Copy full SHA for 817ca95 - Browse repository at this point
Copy the full SHA 817ca95View commit details