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

@@ -0,0 +1,19 @@
mv() Netscript Function
==============================
.. js:function:: rm(Filename [,hostname = current hostname])
:RAM cost: 0 GB
:param string Filename: Name of the file to be deleted.
:param string hostname: Hostname of the target server.
Delete a file on the given server.
.. warning!:: There is no safetychecks or recycling bins. Deleted files are lost.
Examples:
.. code-block:: javascript
ns.rm("foo.js");