Skip to main content

Module resolver

Module resolver 

Source
Expand description

Public resolver API.

The trait definitions (Resolver, ResolverError, MaterializedFile, etc.) are always available. The Git-backed implementation and supporting infrastructure (cache, config, fetch, lock, trust, etc.) are gated behind the resolver cargo feature so that consumers like wdl-doc that only need the manifest/lockfile/hashing types do not pay for git2 and friends.

Structs§

MaterializedFile
A symbolic import resolved to a concrete file on disk.
ResolvedDependency
One resolved dependency in a ResolvedTree.
ResolvedModule
One resolved module inside a ResolvedDependency.
ResolvedTree
A fully resolved dependency tree, suitable for module-lock.json generation.

Enums§

DependencyScope
Whether a dependency is declared directly by the consumer or reached transitively through another dependency.
GitRefKind
The kind of Git reference named in a [ResolverError::UnknownGitRef].
MissingFileKind
The kind of file lookup that failed in a ResolverError::MissingFile.
ResolverError
An error returned by the Resolver trait or any resolver-layer operation.

Traits§

Resolver
Resolves WDL module imports to concrete files on disk.