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

[Backport 2.20-maintenance] Factor out nix::maybeLstat #10477

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Apr 11, 2024

Motivation

Manual backport of #10362 to 2.21-maintenance; manual in order to fix small conflict.

Needed for #10456 backports.

Context

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Ericson2314 and others added 2 commits April 11, 2024 11:41
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.

(cherry picked from commit 8be347a)
(cherry picked from commit e75690b)
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
(cherry picked from commit 3752bbe)
(cherry picked from commit 41d60b5)
@Ericson2314 Ericson2314 added the backport 2.19-maintenance Automatically creates a PR against the branch label Apr 11, 2024
@Ericson2314 Ericson2314 changed the title [Backport 2.20-maintenance] Factor out nix::maybeLstat [Backport 2.20-maintenance] Factor out nix::maybeLstat Apr 11, 2024
@Ericson2314 Ericson2314 deleted the backport-10362-to-2.20-maintenance branch April 11, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.19-maintenance Automatically creates a PR against the branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant