diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-22 07:14:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-22 07:14:55 -0800 |
| commit | 8ec5b3e6ef2e7e5c3adaa5accb375676b1c09ff0 (patch) | |
| tree | f3023dc51c32d74d1b5dd4701f5535c8227fe17e /source/core/slang-io.h | |
| parent | c5ac7dee8a47dcb168a6556d2e8cdb8d2fe09a37 (diff) | |
Add API for querying and reusing precompiled binary modules. (#3614)
Diffstat (limited to 'source/core/slang-io.h')
| -rw-r--r-- | source/core/slang-io.h | 3 |
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 |
