From 8ec5b3e6ef2e7e5c3adaa5accb375676b1c09ff0 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 22 Feb 2024 07:14:55 -0800 Subject: Add API for querying and reusing precompiled binary modules. (#3614) --- source/core/slang-io.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/core/slang-io.h') 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 -- cgit v1.2.3