aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/flakeref.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/primops/flakeref.hh')
-rw-r--r--src/libexpr/primops/flakeref.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libexpr/primops/flakeref.hh b/src/libexpr/primops/flakeref.hh
index 299094634..52bb82ddb 100644
--- a/src/libexpr/primops/flakeref.hh
+++ b/src/libexpr/primops/flakeref.hh
@@ -180,4 +180,9 @@ struct FlakeRef
std::ostream & operator << (std::ostream & str, const FlakeRef & flakeRef);
+MakeError(BadFlakeRef, Error);
+
+std::optional<FlakeRef> parseFlakeRef(
+ const std::string & uri, bool allowRelative = false);
+
}