mirror of
https://github.com/NixOS/nix
synced 2025-07-01 16:41:47 +02:00
Separate path.hh
from content-address.hh
It is good to separate concerns; `StorePath` (in general) has nothing to do with `ContentAddress` anyways. This reduces the diff from #3746.
This commit is contained in:
parent
a31d7d4e5e
commit
02e745ba5b
3 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "content-address.hh"
|
||||
#include <string_view>
|
||||
|
||||
#include "types.hh"
|
||||
|
||||
namespace nix {
|
||||
|
@ -66,8 +67,6 @@ public:
|
|||
typedef std::set<StorePath> StorePathSet;
|
||||
typedef std::vector<StorePath> StorePaths;
|
||||
|
||||
typedef std::map<StorePath, std::optional<ContentAddress>> StorePathCAMap;
|
||||
|
||||
/* Extension of derivations in the Nix store. */
|
||||
const std::string drvExtension = ".drv";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue