You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename String.is_abs_path() to String.is_absolute_path()
This is more consistent with `NodePath.is_absolute()`.
This commit is contained in:
@@ -80,7 +80,7 @@ String cwd() {
|
||||
}
|
||||
|
||||
String abspath(const String &p_path) {
|
||||
if (p_path.is_abs_path()) {
|
||||
if (p_path.is_absolute_path()) {
|
||||
return p_path.simplify_path();
|
||||
} else {
|
||||
return path::join(path::cwd(), p_path).simplify_path();
|
||||
|
||||
Reference in New Issue
Block a user