mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
v1.0.1
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
rm() Netscript Function
|
||||
=======================
|
||||
|
||||
.. js:function:: rm(filename[, hostname=current server])
|
||||
|
||||
:RAM cost: 1 GB
|
||||
:param string filename: Filename of file to remove. Must include the extension.
|
||||
:param string hostname: Hostname address of the server on which to delete
|
||||
the file. Optional. Defaults to current server
|
||||
:returns: ``true`` if it successfully deletes the file.
|
||||
|
||||
Removes the specified file from the current server. This function works for
|
||||
every file type except ``.msg`` files.
|
||||
Reference in New Issue
Block a user