diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2019-06-18 18:22:43 -0400 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2019-06-18 15:22:43 -0700 |
| commit | e213e394d5008cb7bf08bbf875acd494259f5847 (patch) | |
| tree | 75a82a19aaf6be8204c1f8b4ceb446d02a1f06d7 /source/core/slang-io.h | |
| parent | 896e460dc8146bc9a39296ea72f320fe3db28cee (diff) | |
* Added Path::combineBuilder, so as two sub paths can be combined into a StringBuilder (#988)
* Renamed and improved comments on SharedLibrary
Diffstat (limited to 'source/core/slang-io.h')
| -rw-r--r-- | source/core/slang-io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/core/slang-io.h b/source/core/slang-io.h index 4fa921662..91cfaf290 100644 --- a/source/core/slang-io.h +++ b/source/core/slang-io.h @@ -29,8 +29,13 @@ namespace Slang static String getFileNameWithoutExt(const String& path); static String getFileExt(const String& path); static String getParentDirectory(const String& path); + static String combine(const String& path1, const String& path2); static String combine(const String& path1, const String& path2, const String& path3); + + /// Combine path sections and store the result in outBuilder + static void combineBuilder(const UnownedStringSlice& path1, const UnownedStringSlice& path2, StringBuilder& outBuilder); + static bool createDirectory(const String& path); /// Accept either style of delimiter |
