|
Nix 2.34.7
Nix, the purely functional package manager; unstable internal interfaces
|
Classes | |
| struct | Directory |
| A directory to be written as a Git tree. More... | |
| struct | Child |
| struct | State |
Public Member Functions | |
| GitFileSystemObjectSinkImpl (ref< GitRepoImpl > repo) | |
| void | addNode (State &state, const CanonPath &path, Child &&child) |
| void | createRegularFile (const CanonPath &path, fun< void(CreateRegularFileSink &)> func) override |
| void | createDirectory (const CanonPath &path) override |
| void | createSymlink (const CanonPath &path, const std::string &target) override |
| void | createHardlink (const CanonPath &path, const CanonPath &target) override |
| Hash | flush () override |
Public Attributes | |
| ref< GitRepoImpl > | repo |
| Pool< GitRepoImpl > | repoPool |
| unsigned int | concurrency = std::min(std::thread::hardware_concurrency(), 10U) |
| ThreadPool | workers {concurrency} |
| std::atomic< size_t > | totalBufSize {0} |
| size_t | nextId = 0 |
| Sync< State > | _state |
| std::map< CanonPath, CanonPath > | hardLinks |
Static Public Attributes | |
| static constexpr std::size_t | maxBufSize = 16 * 1024 * 1024 |
| std::atomic<size_t> nix::GitFileSystemObjectSinkImpl::totalBufSize {0} |
Total file contents in flight.