doc function updates and additions (#387)

This commit is contained in:
Mughur
2023-02-24 13:57:17 +02:00
committed by GitHub
parent 71051cde9c
commit 6839a456ac
27 changed files with 161 additions and 30 deletions

View File

@@ -1,10 +1,14 @@
mv() Netscript Function
==============================
.. js:function:: mv(serverName, sourceFile, targetFile)
.. js:function:: mv(hostname, sourceFile, targetFile)
:RAM cost: 0 GB
:param string hostname: Hostname of the target server.
:param string sourceFile: Name of the file to be moved/renamed.
:param string targetFile: Target name of the file.
Move the source file to target file on the given server.
This command only works for scripts and text files (.txt). It cannot, however, be used to convert from script to text file, or vice versa.