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

FileSystem.Unix: Directory.Delete: remove per item syscall. #59520

Merged
merged 6 commits into from
Nov 23, 2021

Commits on Nov 18, 2021

  1. FileSystem.Unix: Directory.Delete: remove per item syscall.

    By recursing using FileSystemEnumerable we know the file type and
    can omit the stat calls made by DirectoryInfo.Exists.
    
    For the top level path, we can omit the call also and handle
    non-directories when rmdir errno is ENOTDIR.
    
    For the recursive case we can avoid recursion when the top level path rmdir
    succeeds immediately.
    
    FileSystemEntry is updated so IsSymbolicLink remembers the file is symbolic link
    and does not make a syscall for it.
    tmds committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    d8451f1 View commit details
    Browse the repository at this point in the history
  2. PR feedback

    tmds committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    ead0f47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    599514a View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. Configuration menu
    Copy the full SHA
    63953d7 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. Configuration menu
    Copy the full SHA
    edb54b2 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    tmds committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    9014793 View commit details
    Browse the repository at this point in the history