diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2021-08-25 18:36:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 18:36:20 +0200 |
commit | 4308800fbaf7c1137b515ea9bb8b847a267d14e2 (patch) | |
tree | 314efb44ade31be477a52d1075a5d8d5f655370a /modules/mono | |
parent | 181d93ed943e468363143f0bb878ee3dc777fb0b (diff) | |
parent | 4e6e6bcd2f2a39acc707440dd2ed808b9e30c11c (diff) |
Merge pull request #52086 from raulsntos/rename-string-is-abs-path-method
Rename `String.IsAbsPath()` to `String.IsAbsolutePath()`
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs index 6ce148d51e..ccc0302c78 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs @@ -575,7 +575,7 @@ namespace Godot /// <summary> /// If the string is a path to a file or directory, return <see langword="true"/> if the path is absolute. /// </summary> - public static bool IsAbsPath(this string instance) + public static bool IsAbsolutePath(this string instance) { if (string.IsNullOrEmpty(instance)) return false; @@ -590,7 +590,7 @@ namespace Godot /// </summary> public static bool IsRelPath(this string instance) { - return !IsAbsPath(instance); + return !IsAbsolutePath(instance); } /// <summary> |