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:
parent
4c7f0ef6ca
commit
be0052b45f
5 changed files with 699 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue