* Added parsing of manifests in ATerm format.

This commit is contained in:
Eelco Dolstra
2010-04-19 12:10:04 +00:00
parent b7ff69eb7c
commit 55b5ddd3ca
3 changed files with 165 additions and 13 deletions
+5
View File
@@ -29,6 +29,9 @@ struct DrvInfo
private:
string drvPath;
string outPath;
bool metaInfoRead;
MetaInfo meta;
public:
string name;
@@ -38,6 +41,8 @@ public:
/* !!! make this private */
Bindings * attrs;
DrvInfo() : metaInfoRead(false) { };
string queryDrvPath(EvalState & state) const;
string queryOutPath(EvalState & state) const;
MetaInfo queryMetaInfo(EvalState & state) const;