summaryrefslogtreecommitdiff
path: root/source/core/slang-io.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-06-19 16:54:12 -0400
committerGitHub <noreply@github.com>2019-06-19 16:54:12 -0400
commitbabe8e78d9f431d5f751859d159bbb3df37987c7 (patch)
tree0ba44ecdbe8061ef2b576777d2d43aa64c7e0fe1 /source/core/slang-io.h
parent442f8c6d3d42b892e3f13128bcb6487ff7508f0d (diff)
Feature/shared library review (#992)
* Added setNull to RefPtr Renamed combineBuilder into combineIntoBuilder * Added Path::append
Diffstat (limited to 'source/core/slang-io.h')
-rw-r--r--source/core/slang-io.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/core/slang-io.h b/source/core/slang-io.h
index 91cfaf290..da63e9c20 100644
--- a/source/core/slang-io.h
+++ b/source/core/slang-io.h
@@ -34,7 +34,10 @@ namespace Slang
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 void combineIntoBuilder(const UnownedStringSlice& path1, const UnownedStringSlice& path2, StringBuilder& outBuilder);
+
+ /// Append a path, taking into account path separators onto the end of ioBuilder
+ static void append(StringBuilder& ioBuilder, const UnownedStringSlice& path);
static bool createDirectory(const String& path);