diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-09-08 18:17:09 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-09-08 18:17:09 -0400 |
commit | 5433f9023ed174366c8bf450785aafbdb077d29d (patch) | |
tree | 3a4fc71371d5a1194c2f819444aa7fc32f739830 /src/SMAPI/Utilities/PathUtilities.cs | |
parent | 8a51279ce943ff74b45ec7af308ecf59d73ace9b (diff) | |
parent | d53e033163cfc4a876d6a3341979315a3d937a4f (diff) | |
download | SMAPI-5433f9023ed174366c8bf450785aafbdb077d29d.tar.gz SMAPI-5433f9023ed174366c8bf450785aafbdb077d29d.tar.bz2 SMAPI-5433f9023ed174366c8bf450785aafbdb077d29d.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Utilities/PathUtilities.cs')
-rw-r--r-- | src/SMAPI/Utilities/PathUtilities.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SMAPI/Utilities/PathUtilities.cs b/src/SMAPI/Utilities/PathUtilities.cs index ea134468..19f16ea9 100644 --- a/src/SMAPI/Utilities/PathUtilities.cs +++ b/src/SMAPI/Utilities/PathUtilities.cs @@ -18,12 +18,12 @@ namespace StardewModdingAPI.Utilities return ToolkitPathUtilities.GetSegments(path, limit); } - /// <summary>Normalize path separators in a file path.</summary> + /// <summary>Normalize separators in a file path.</summary> /// <param name="path">The file path to normalize.</param> [Pure] - public static string NormalizePathSeparators(string path) + public static string NormalizePath(string path) { - return ToolkitPathUtilities.NormalizePathSeparators(path); + return ToolkitPathUtilities.NormalizePath(path); } /// <summary>Get whether a path is relative and doesn't try to climb out of its containing folder (e.g. doesn't contain <c>../</c>).</summary> |