mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
Refactor ls
This commit is contained in:
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -5592,10 +5592,10 @@ export interface NS {
|
||||
* (as strings). The returned array is sorted in alphabetic order.
|
||||
*
|
||||
* @param host - Hostname of the target server.
|
||||
* @param grep - A substring to search for in the filename.
|
||||
* @param substring - A substring to search for in the filename.
|
||||
* @returns Array with the filenames of all files on the specified server.
|
||||
*/
|
||||
ls(host: string, grep?: string): string[];
|
||||
ls(host: string, substring?: string): string[];
|
||||
|
||||
/**
|
||||
* List running scripts on a server.
|
||||
|
||||
Reference in New Issue
Block a user