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

Make ParseSink a bit better #9265

Merged
merged 1 commit into from
Nov 2, 2023

Commits on Nov 1, 2023

  1. Make ParseSink a bit better

    I wouldn't call it *good* yet, but this will do for now.
    
    - `RetrieveRegularNARSink` renamed to `RegularFileSink` and moved
      accordingly because it actually has nothing to do with NARs in
      particular.
    
      - its `fd` field is also marked private
    
    - `copyRecursive` introduced to dump a `SourceAccessor` into a
      `ParseSink`.
    
    - `NullParseSink` made so `ParseSink` no longer has sketchy default
      methods.
    
    This was done while updating NixOS#8918 to work with the new
    `SourceAccessor`.
    Ericson2314 committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    1093d65 View commit details
    Browse the repository at this point in the history