aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd
diff options
context:
space:
mode:
Diffstat (limited to 'include/serd')
-rw-r--r--include/serd/env.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/serd/env.h b/include/serd/env.h
index a0c47997..553905f7 100644
--- a/include/serd/env.h
+++ b/include/serd/env.h
@@ -51,6 +51,16 @@ SERD_API SerdStatus
serd_env_set_base_uri(SerdEnv* ZIX_NONNULL env, SerdStringView uri);
/**
+ Set the current base URI to a filesystem path.
+
+ This will set the base URI to a properly formatted file URI that points to
+ the canonical version of `path`. Note that this requires the path to
+ actually exist.
+*/
+SERD_API SerdStatus
+serd_env_set_base_path(SerdEnv* ZIX_NONNULL env, SerdStringView path);
+
+/**
Set a namespace prefix.
A namespace prefix is used to expand CURIE nodes, for example, with the