Browse Source

Rename `String.IsAbsPath()` to `String.IsAbsolutePath()`

Raul Santos 4 years ago
parent
commit
4e6e6bcd2f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs

+ 2 - 2
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>