diff options
Diffstat (limited to 'src/fstate.hh')
-rw-r--r-- | src/fstate.hh | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/fstate.hh b/src/fstate.hh index e4f69cb232df..a7935be5250e 100644 --- a/src/fstate.hh +++ b/src/fstate.hh @@ -14,28 +14,25 @@ typedef list<FSId> FSIds; struct SliceElem { - string path; FSId id; - Strings refs; + StringSet refs; }; -typedef list<SliceElem> SliceElems; +typedef map<string, SliceElem> SliceElems; struct Slice { - Strings roots; + StringSet roots; SliceElems elems; }; -typedef pair<string, FSId> DeriveOutput; -typedef pair<string, string> StringPair; -typedef list<DeriveOutput> DeriveOutputs; -typedef list<StringPair> StringPairs; +typedef map<string, FSId> DeriveOutputs; +typedef map<string, string> StringPairs; struct Derive { DeriveOutputs outputs; - FSIds inputs; + FSIdSet inputs; string platform; string builder; Strings args; |