summaryrefslogtreecommitdiff
path: root/source/core/slang-io.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-io.h')
-rw-r--r--source/core/slang-io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/core/slang-io.h b/source/core/slang-io.h
index 125ac135c..fcacee1db 100644
--- a/source/core/slang-io.h
+++ b/source/core/slang-io.h
@@ -213,6 +213,9 @@ namespace Slang
static SlangResult remove(const String& path);
static bool equals(String path1, String path2);
+
+ /// Turn `path` into a relative path from base.
+ static String getRelativePath(String base, String path);
};
struct URI