aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/File.xml
diff options
context:
space:
mode:
authorMarcelo Fernandez2018-03-09 11:45:21 -0300
committerHein-Pieter van Braam2018-04-29 15:09:29 +0200
commit272fb05270c4d812d5fb97f2d3290349e694c7f1 (patch)
tree1fabc228ed42a6106500c4f399f4eaa1e55b9d19 /doc/classes/File.xml
parent41f360f9c227ad238c9d350d08d02e8983b1d701 (diff)
downloadgodot-272fb05270c4d812d5fb97f2d3290349e694c7f1.tar.gz
godot-272fb05270c4d812d5fb97f2d3290349e694c7f1.tar.zst
godot-272fb05270c4d812d5fb97f2d3290349e694c7f1.zip
Added File.get_path and File.get_path_absolute functions
(cherry picked from commit a4e64c545406be00c00fe93818994977ae378fb9)
Diffstat (limited to 'doc/classes/File.xml')
-rw-r--r--doc/classes/File.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/classes/File.xml b/doc/classes/File.xml
index 9a2a51b8d..151d17311 100644
--- a/doc/classes/File.xml
+++ b/doc/classes/File.xml
@@ -163,6 +163,20 @@
Returns a [String] saved in Pascal format from the file.
</description>
</method>
+ <method name="get_path">
+ <return type="String">
+ </return>
+ <description>
+ Returns the path as a [String] for the current open file.
+ </description>
+ </method>
+ <method name="get_path_absolute">
+ <return type="String">
+ </return>
+ <description>
+ Returns the absolute path as a [String] for the current open file.
+ </description>
+ </method>
<method name="get_position" qualifiers="const">
<return type="int">
</return>