|
@@ -94,6 +94,16 @@
|
|
Static version of [method copy]. Supports only absolute paths.
|
|
Static version of [method copy]. Supports only absolute paths.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
|
|
+ <method name="create_link">
|
|
|
|
+ <return type="int" enum="Error" />
|
|
|
|
+ <param index="0" name="source" type="String" />
|
|
|
|
+ <param index="1" name="target" type="String" />
|
|
|
|
+ <description>
|
|
|
|
+ Creates symbolic link between files or folders.
|
|
|
|
+ [b]Note:[/b] On Windows, this method works only if the application is running with elevated privileges or Developer Mode is enabled.
|
|
|
|
+ [b]Note:[/b] This method is implemented on macOS, Linux, and Windows.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
<method name="current_is_dir" qualifiers="const">
|
|
<method name="current_is_dir" qualifiers="const">
|
|
<return type="bool" />
|
|
<return type="bool" />
|
|
<description>
|
|
<description>
|
|
@@ -212,6 +222,14 @@
|
|
[b]Note:[/b] This method is implemented on macOS, Linux (for EXT4 and F2FS filesystems only) and Windows. On other platforms, it always returns [code]true[/code].
|
|
[b]Note:[/b] This method is implemented on macOS, Linux (for EXT4 and F2FS filesystems only) and Windows. On other platforms, it always returns [code]true[/code].
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
|
|
+ <method name="is_link">
|
|
|
|
+ <return type="bool" />
|
|
|
|
+ <param index="0" name="path" type="String" />
|
|
|
|
+ <description>
|
|
|
|
+ Returns [code]true[/code] if the file or directory is a symbolic link, directory junction, or other reparse point.
|
|
|
|
+ [b]Note:[/b] This method is implemented on macOS, Linux, and Windows.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
<method name="list_dir_begin">
|
|
<method name="list_dir_begin">
|
|
<return type="int" enum="Error" />
|
|
<return type="int" enum="Error" />
|
|
<description>
|
|
<description>
|
|
@@ -264,6 +282,14 @@
|
|
Returns [code]null[/code] if opening the directory failed. You can use [method get_open_error] to check the error that occurred.
|
|
Returns [code]null[/code] if opening the directory failed. You can use [method get_open_error] to check the error that occurred.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
|
|
+ <method name="read_link">
|
|
|
|
+ <return type="String" />
|
|
|
|
+ <param index="0" name="path" type="String" />
|
|
|
|
+ <description>
|
|
|
|
+ Returns target of the symbolic link.
|
|
|
|
+ [b]Note:[/b] This method is implemented on macOS, Linux, and Windows.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
<method name="remove">
|
|
<method name="remove">
|
|
<return type="int" enum="Error" />
|
|
<return type="int" enum="Error" />
|
|
<param index="0" name="path" type="String" />
|
|
<param index="0" name="path" type="String" />
|