Merge pull request #49279 from Calinou/rename-string-is-abs-path-method
Rename `String.is_abs_path()` to `String.is_absolute_path()`
This commit is contained in:
commit
6b0183ec89
17 changed files with 27 additions and 27 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue