Factor out TreeInfo

This commit is contained in:
Eelco Dolstra
2020-02-01 22:06:55 +01:00
parent 5d70b454be
commit 8451298b35
13 changed files with 100 additions and 68 deletions
+4 -2
View File
@@ -113,8 +113,10 @@ struct GitHubInput : Input
Tree result{
.actualPath = dresult.path,
.storePath = store->parseStorePath(dresult.storePath),
.rev = *rev,
.lastModified = *dresult.lastModified
.info = TreeInfo {
.rev = *rev,
.lastModified = *dresult.lastModified,
},
};
#if 0