aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/tree-info.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfetchers/tree-info.hh')
-rw-r--r--src/libfetchers/tree-info.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libfetchers/tree-info.hh b/src/libfetchers/tree-info.hh
index 2c7347281..3b62151c6 100644
--- a/src/libfetchers/tree-info.hh
+++ b/src/libfetchers/tree-info.hh
@@ -24,6 +24,10 @@ struct TreeInfo
}
StorePath computeStorePath(Store & store) const;
+
+ static TreeInfo fromJson(const nlohmann::json & json);
+
+ nlohmann::json toJson() const;
};
}