Implement FILEMAN:Copy(string fromPath, string toPath)
Copies a file from `fromPath` to `toPath`. Returns `true` if the file was copied successfully.
This commit is contained in:
@@ -1592,6 +1592,7 @@
|
||||
<Function name='destroy'/>
|
||||
</Class>
|
||||
<Class name='RageFileManager'>
|
||||
<Function name='Copy'/>
|
||||
<Function name='DoesFileExist'/>
|
||||
<Function name='GetDirListing'/>
|
||||
<Function name='GetFileSizeBytes'/>
|
||||
|
||||
@@ -4848,6 +4848,10 @@ prev_note_name, succeeded = options:NoteSkin("cel")
|
||||
<Description>
|
||||
This singleton is accessible to Lua via <code>FILEMAN</code>.
|
||||
</Description>
|
||||
<Function name='Copy' return='bool' arguments='string fromPath, string toPath'>
|
||||
Copies a file from <code>fromPath</code> to <code>toPath</code>.
|
||||
Returns <code>true</code> if the file was copied successfully.
|
||||
</Function>
|
||||
<Function name='DoesFileExist' return='bool' arguments='string sPath'>
|
||||
Returns <code>true</code> if a file exists at <code>sPath</code>.
|
||||
</Function>
|
||||
|
||||
Reference in New Issue
Block a user