LlmProcessNodeHost class

The running process's own view of the machine: its PATH, its home directory, its filesystem, and a --version run with no shell.

Implemented types

Constructors

LlmProcessNodeHost()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
homeDirectory → String?
The user's home directory, or null when the host cannot say.
no setteroverride
isWindows → bool
Whether paths join with \ and the executable is node.exe.
no setteroverride
pathEntries → List<String>
The entries of PATH, in order; empty when there is none.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

directoryEntries(String directory) → List<String>
The names of the entries directly under directory; empty when it does not exist or cannot be read.
override
fileExists(String path) → bool
Whether path is an existing file; a symlink to one counts.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
versionOf(String executable) → Future<String?>
Runs [executable] --version and answers its first non-blank output line, or null when it could not be run or exited non-zero.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited