Go to the source code of this file.
◆ FileIngestionMethod
An enumeration of the main ways we can serialize file system objects.
| Enumerator |
|---|
| Flat | Flat-file hashing. Directly ingest the contents of a single file
|
| Recursive | Recursive (or NAR) hashing. Serializes the file-system object in Nix Archive format and ingest that
|
◆ makeFileIngestionPrefix()
Compute the prefix to the hash algorithm which indicates how the files were ingested.
◆ renderContentAddress()
| std::string nix::renderContentAddress |
( |
std::optional< ContentAddress > | ca | ) |
|
Render the ContentAddress if it exists to a string, return empty string otherwise.