Module wasmer_wasix::runtime::package_loader::load_package_tree
source ยท Structsยง
- MappedPathFileSystem ๐A
FileSystem
implementation that lets you map thePath
to something else.
Constantsยง
- The maximum number of packages that will be loaded in parallel.
Functionsยง
- commands ๐
- count_file_system ๐How many bytes worth of files does a directory contain?
- fetch_dependencies ๐
- filesystem ๐Given a set of
ResolvedFileSystemMapping
s 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
andsharrattj/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 aBinaryPackageCommand
. - Given a fully resolved package, load it into memory for execution.
Type Aliasesยง
- DynPathMapper ๐