mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 13:11:00 +01:00
NullFileSystemObjectSink: Skip over file contents
This commit is contained in:
parent
daa7e0d2e9
commit
67bffa19a5
3 changed files with 16 additions and 1 deletions
|
|
@ -196,6 +196,8 @@ void NullFileSystemObjectSink::createRegularFile(
|
|||
void isExecutable() override {}
|
||||
} crf;
|
||||
|
||||
crf.skipContents = true;
|
||||
|
||||
// Even though `NullFileSystemObjectSink` doesn't do anything, it's important
|
||||
// that we call the function, to e.g. advance the parser using this
|
||||
// sink.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue