Class: Host
Information about the host environment.
Extends
BaseClient
Constructors
new Host()
new Host(
parent
?,_id
?):Host
Constructor is used for internal usage only, do not create object from it.
Parameters
• parent?
• parent.ctx?: Context
• parent.queryTree?: QueryTree
[]
• _id?: HostID
Returns
Overrides
BaseClient.constructor
Methods
directory()
directory(
path
,opts
?):Directory
Accesses a directory on the host.
Parameters
• path: string
Location of the directory to access (e.g., ".").
• opts?: HostDirectoryOpts
Returns
file()
file(
path
):File
Accesses a file on the host.
Parameters
• path: string
Location of the file to retrieve (e.g., "README.md").