Build metadata. Read for os alone, to decide whether signal listening is
available — see createDenoRuntimeServices.
Environment variable map.
OptionalstderrStandard error writer; optional for legacy injected hosts.
Current runtime version string.
Registers a signal listener.
Throws on Windows, which is why the adapter guards on
DenoHost.build rather than calling this unconditionally.
Exit the process.
Optionalcode: numberReturns the host name.
Create a directory.
Optionaloptions: { recursive?: boolean }Open a file for reading.
Lists directory entries. Named and shaped after the real API this host
defaults to: Deno.readDir (capital D) returns an async iterable,
so it must be consumed with for await.
Read file as bytes.
Resolve a path to its canonical absolute form, following symlinks.
Remove a file or directory.
Optionaloptions: { recursive?: boolean }Resolves address records.
Write bytes to a file.
Minimal interface covering the Deno-specific operations used by this adapter. Inject this interface to test the adapter without real Deno.