mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Merge pull request #52086 from raulsntos/rename-string-is-abs-path-method
Rename `String.IsAbsPath()` to `String.IsAbsolutePath()`
This commit is contained in:
commit
4308800fba
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user