1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

Remove FSInputAccessor

This commit is contained in:
Eelco Dolstra 2024-05-03 12:30:28 +02:00
parent ba5929c7be
commit 20558e0462
15 changed files with 48 additions and 58 deletions

View file

@ -1,5 +1,4 @@
#include "git-utils.hh"
#include "fs-input-accessor.hh"
#include "cache.hh"
#include "finally.hh"
#include "processes.hh"
@ -948,7 +947,7 @@ ref<SourceAccessor> GitRepoImpl::getAccessor(const WorkdirInfo & wd, bool export
wd.files.empty()
? makeEmptySourceAccessor()
: AllowListInputAccessor::create(
makeFSInputAccessor(path),
makeFSSourceAccessor(path),
std::set<CanonPath> { wd.files },
std::move(makeNotAllowedError)).cast<SourceAccessor>();
if (exportIgnore)