Module resolver

Source

Modulesยง

backend_source ๐Ÿ”’
filesystem_source ๐Ÿ”’
in_memory_source ๐Ÿ”’
inputs ๐Ÿ”’
multi_source ๐Ÿ”’
outputs ๐Ÿ”’
resolve ๐Ÿ”’
source ๐Ÿ”’
utils ๐Ÿ”’
web_source ๐Ÿ”’

Structsยง

BackendSource
A Source which will resolve dependencies by pinging a Wasmer-like GraphQL endpoint.
Command
Dependency
A dependency constraint.
DependencyGraph
An acyclic, directed dependency graph.
DistributionInfo
Information used when retrieving a package.
Edge
An edge in the DependencyGraph.
FileSystemMapping
FileSystemSource
A Source that knows how to query files on the filesystem.
InMemorySource
A Source that tracks packages in memory.
ItemLocation
MultiSource
A Source that works by querying multiple Sources in succession.
MultiSourceStrategy
Node
A node in the DependencyGraph.
PackageInfo
Information about a packageโ€™s contents.
PackageSummary
Some metadata a Source can provide about a package without needing to download the entire *.webc file.
Resolution
ResolvedFileSystemMapping
ResolvedPackage
A package that has been resolved, but is not yet runnable.
WebSource
A Source which can query arbitrary packages on the internet.
WebcHash
The SHA-256 hash of a *.webc file.

Enumsยง

QueryError
ResolveError

Traitsยง

Source
Something that packages can be downloaded from.

Functionsยง

resolve
Given the PackageInfo for a root package, resolve its dependency graph and figure out how it could be executed.