#include <variant>
#include "hash.hh"
#include "path.hh"
#include "file-content-address.hh"
#include "variant-wrapper.hh"
Go to the source code of this file.
Classes | |
struct | nix::ContentAddressMethod |
struct | nix::ContentAddress |
struct | nix::StoreReferences |
struct | nix::TextInfo |
struct | nix::FixedOutputInfo |
struct | nix::ContentAddressWithReferences |
Functions | |
std::string_view | nix::makeFileIngestionPrefix (FileIngestionMethod m) |
std::string | nix::renderContentAddress (std::optional< ContentAddress > ca) |
std::string_view nix::makeFileIngestionPrefix | ( | FileIngestionMethod | m | ) |
Compute the prefix to the hash algorithm which indicates how the files were ingested.
std::string nix::renderContentAddress | ( | std::optional< ContentAddress > | ca | ) |
Render the ContentAddress
if it exists to a string, return empty string otherwise.