|
|
void | pushBuilder (std::string name) |
|
| GitFileSystemObjectSinkImpl (ref< GitRepoImpl > repo) |
|
std::pair< git_oid, std::string > | popBuilder () |
|
void | addToTree (const std::string &name, const git_oid &oid, git_filemode_t mode) |
|
void | updateBuilders (std::span< const std::string > names) |
|
bool | prepareDirs (const std::vector< std::string > &pathComponents, bool isDir) |
|
void | createRegularFile (const CanonPath &path, std::function< 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 |
◆ packfileOdbRefresh
| decltype(::git_odb_backend::refresh) nix::GitFileSystemObjectSinkImpl::packfileOdbRefresh = nullptr |
If repo has a non-null packBackend, this has a copy of the refresh function from the backend virtual table. This is needed to restore it after we've flushed the sink. We modify it to avoid unnecessary I/O on non-existent oids.
◆ regularFileContentsBuffer
| std::string nix::GitFileSystemObjectSinkImpl::regularFileContentsBuffer |
Temporary buffer used by createRegularFile for storing small file contents.
The documentation for this struct was generated from the following file:
- /builddir/build/BUILD/nix-2.33.3-build/nix-2.33.3/src/libfetchers/git-utils.cc