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

Factor out nix::maybeLstat #10362

Merged
merged 2 commits into from
Mar 30, 2024
Merged

Commits on Mar 29, 2024

  1. Factor out nix::maybeLstat

    This function is nice for more than `PosixSourceAccessor`. We can make a
    few things simpler with it.
    
    Note that the error logic slightly changes in some of the call sites, in
    that we also count `ENOTDIR` and not just `ENOENT` as not having the
    file, but that should be fine.
    Ericson2314 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    8be347a View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. Document maybeLstat

    Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
    Ericson2314 and thufschmitt authored Mar 30, 2024
    Configuration menu
    Copy the full SHA
    3752bbe View commit details
    Browse the repository at this point in the history