![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <variant>#include "nix/util/hash.hh"#include "nix/store/path.hh"#include "nix/util/file-content-address.hh"#include "nix/util/variant-wrapper.hh"#include "nix/util/json-impls.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.