mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Merge pull request #9238 from tfc/small-improvements2
Small improvements 2
This commit is contained in:
commit
1dc6a65d36
1 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ struct SubstitutablePathInfo
|
||||||
uint64_t narSize;
|
uint64_t narSize;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::map<StorePath, SubstitutablePathInfo> SubstitutablePathInfos;
|
using SubstitutablePathInfos = std::map<StorePath, SubstitutablePathInfo>;
|
||||||
|
|
||||||
|
|
||||||
struct UnkeyedValidPathInfo
|
struct UnkeyedValidPathInfo
|
||||||
|
@ -42,7 +42,7 @@ struct UnkeyedValidPathInfo
|
||||||
StorePathSet references;
|
StorePathSet references;
|
||||||
time_t registrationTime = 0;
|
time_t registrationTime = 0;
|
||||||
uint64_t narSize = 0; // 0 = unknown
|
uint64_t narSize = 0; // 0 = unknown
|
||||||
uint64_t id; // internal use only
|
uint64_t id = 0; // internal use only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether the path is ultimately trusted, that is, it's a
|
* Whether the path is ultimately trusted, that is, it's a
|
||||||
|
@ -136,6 +136,6 @@ struct ValidPathInfo : UnkeyedValidPathInfo {
|
||||||
virtual ~ValidPathInfo() { }
|
virtual ~ValidPathInfo() { }
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::map<StorePath, ValidPathInfo> ValidPathInfos;
|
using ValidPathInfos = std::map<StorePath, ValidPathInfo>;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue