mirror of
https://github.com/NixOS/nix.git
synced 2025-12-10 11:01:03 +01:00
Also, fetchGit now runs in O(1) memory since we pipe the output of 'git archive' directly into unpackTarball() (rather than first reading it all into memory).
10 lines
215 B
C++
10 lines
215 B
C++
#include "serialise.hh"
|
|
|
|
namespace nix {
|
|
|
|
void unpackTarfile(Source & source, const Path & destDir);
|
|
|
|
void unpackTarfile(const Path & tarFile, const Path & destDir,
|
|
std::optional<std::string> baseName = {});
|
|
|
|
}
|