mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Fix docstring for String.get_base_dir
This commit is contained in:
parent
ba4bd7f009
commit
3afe5d0c25
@ -237,7 +237,7 @@
|
||||
<description>
|
||||
If the string is a valid file path, returns the base directory name.
|
||||
[codeblock]
|
||||
var dir_path = "/path/to/file.txt".get_basename() # dir_path is "/path/to"
|
||||
var dir_path = "/path/to/file.txt".get_base_dir() # dir_path is "/path/to"
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
|
@ -220,7 +220,7 @@
|
||||
<description>
|
||||
If the string is a valid file path, returns the base directory name.
|
||||
[codeblock]
|
||||
var dir_path = "/path/to/file.txt".get_basename() # dir_path is "/path/to"
|
||||
var dir_path = "/path/to/file.txt".get_base_dir() # dir_path is "/path/to"
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
|
Loading…
Reference in New Issue
Block a user