mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 09:49:36 +01:00
WIP
This commit is contained in:
parent
754c910953
commit
efcd30da89
17 changed files with 88 additions and 42 deletions
|
|
@ -12,6 +12,9 @@ enum struct FileIngestionMethod : uint8_t {
|
|||
|
||||
struct TextHash {
|
||||
Hash hash;
|
||||
TextHash(const TextHash &) = default;
|
||||
TextHash(TextHash &&) = default;
|
||||
TextHash & operator = (const TextHash &) = default;
|
||||
};
|
||||
|
||||
/// Pair of a hash, and how the file system was ingested
|
||||
|
|
@ -56,4 +59,8 @@ std::string renderContentAddress(ContentAddress ca);
|
|||
|
||||
std::string renderContentAddress(std::optional<ContentAddress> ca);
|
||||
|
||||
ContentAddress parseCa(std::string_view rawCa);
|
||||
|
||||
std::optional<ContentAddress> parseCaOpt(std::string_view rawCaOpt);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue