Structsยง
- Mapped
Path ๐File System AFileSystem
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? - Extract WebAssembly features from atom metadata if available
- 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 likesharrattj/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.
- Convert WebAssembly feature annotations to a Features object
Type Aliasesยง
- DynPath
Mapper ๐