summaryrefslogtreecommitdiff
path: root/src/other_tools/utils/parse_archive.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/utils/parse_archive.hpp')
-rw-r--r--src/other_tools/utils/parse_archive.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/other_tools/utils/parse_archive.hpp b/src/other_tools/utils/parse_archive.hpp
index 6d356dd4..bf7f02fc 100644
--- a/src/other_tools/utils/parse_archive.hpp
+++ b/src/other_tools/utils/parse_archive.hpp
@@ -20,6 +20,11 @@
#include "src/buildtool/build_engine/expression/expression.hpp"
#include "src/other_tools/ops_maps/content_cas_map.hpp"
+#include "src/utils/cpp/expected.hpp"
+
+auto ParseArchiveContent(ExpressionPtr const& repo_desc,
+ std::string const& origin)
+ -> expected<ArchiveContent, std::string>;
// Parse the description of an archive repository; if an error
// occurs, call the logger with fatal set to true and return std::nullopt