Merge pull request #52086 from raulsntos/rename-string-is-abs-path-method

Rename `String.IsAbsPath()` to `String.IsAbsolutePath()`
This commit is contained in:
Max Hilbrunner 2021-08-25 18:36:20 +02:00 committed by GitHub
commit 4308800fba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>