Skip to main content

Module binary

Module binary 

Source

Structs§

ExtractionResult
Result of extracting an archive, containing the binary and any companion files.
NoopProgress
A no-op progress reporter for when callers don’t need progress updates.
ResolvedBinary
Result of resolving a node binary, including any companion files found in the archive.

Constants§

BINARY_NAME
BOOTSTRAP_PEERS_FILE

Traits§

ProgressReporter
Trait for reporting progress during long-running operations like binary downloads.

Functions§

binary_install_dir
Returns the directory where downloaded binaries are cached.
extract_tar_gz
Extract a .tar.gz archive and return the path to a named binary.
extract_zip
Extract a .zip archive and return the path to a named binary.
resolve_binary
Resolve a node binary from the given source.