Module load_package_tree

Source

Structsยง

MappedPathFileSystem ๐Ÿ”’
A FileSystem implementation that lets you map the Path to something else.

Constantsยง

MAX_PARALLEL_DOWNLOADS ๐Ÿ”’
The maximum number of packages that will be loaded in parallel.

Functionsยง

atom_name_for_command ๐Ÿ”’
commands ๐Ÿ”’
count_file_system ๐Ÿ”’
How many bytes worth of files does a directory contain?
extract_features_from_atom_metadata ๐Ÿ”’
Extract WebAssembly features from atom metadata if available
extract_suggested_compiler_opts_from_atom_metadata ๐Ÿ”’
fetch_dependencies ๐Ÿ”’
filesystem ๐Ÿ”’
Given a set of ResolvedFileSystemMappings and the [Container] for each package in a dependency tree, construct the resulting filesystem.
filesystem_v2 ๐Ÿ”’
Build the filesystem for webc v2 packages.
filesystem_v3 ๐Ÿ”’
Build the filesystem for webc v3 packages.
legacy_atom_hack ๐Ÿ”’
HACK: Some older packages like sharrattj/bash and sharrattj/coreutils contain commands with no annotations. When this happens, you can just assume it wants to use the first atom in the WEBC file.
load_binary_command ๐Ÿ”’
Given a [webc::metadata::Command], figure out which atom it uses and load that atom into a BinaryPackageCommand.
load_package_tree
Given a fully resolved package, load it into memory for execution.
wasm_annotation_to_features ๐Ÿ”’
Convert WebAssembly feature annotations to a Features object

Type Aliasesยง

DynPathMapper ๐Ÿ”’