1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 06:21:14 +02:00

Revert "Remove dead Git code"

This commit is contained in:
Théophane Hufschmitt 2024-02-27 06:39:30 +01:00 committed by GitHub
parent 4c7f0ef6ca
commit be0052b45f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 699 additions and 0 deletions

View file

@ -41,6 +41,13 @@ struct FileSystemObjectSink
virtual void createSymlink(const Path & path, const std::string & target) = 0;
};
/**
* Recursively copy file system objects from the source into the sink.
*/
void copyRecursive(
SourceAccessor & accessor, const CanonPath & sourcePath,
FileSystemObjectSink & sink, const Path & destPath);
/**
* Ignore everything and do nothing
*/