mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Improve the SQLite wrapper API
In particular, this eliminates a bunch of boilerplate code.
This commit is contained in:
parent
d9c5e3bbf0
commit
3d119f0a3b
5 changed files with 169 additions and 236 deletions
|
@ -96,8 +96,8 @@ struct ValidPathInfo
|
|||
Hash narHash;
|
||||
PathSet references;
|
||||
time_t registrationTime = 0;
|
||||
unsigned long long narSize = 0; // 0 = unknown
|
||||
unsigned long long id; // internal use only
|
||||
uint64_t narSize = 0; // 0 = unknown
|
||||
uint64_t id; // internal use only
|
||||
|
||||
/* Whether the path is ultimately trusted, that is, it was built
|
||||
locally or is content-addressable (e.g. added via addToStore()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue