Skip to content

@armada/sdk / node / FilesystemArtifactSource

Class: FilesystemArtifactSource ​

Defined in: src/node/filesystem-artifact-source.ts:26

Resolve artifacts from a local armada-circuits/build/ directory (Node). A resolve rejects with AbortedError when its signal aborts, and with ArtifactIntegrityError when the files don't match the manifest.

Implements ​

Constructors ​

Constructor ​

new FilesystemArtifactSource(baseDir, options): FilesystemArtifactSource

Defined in: src/node/filesystem-artifact-source.ts:29

Parameters ​

baseDir ​

string

options ​

FilesystemArtifactSourceOptions

Returns ​

FilesystemArtifactSource

Methods ​

resolve() ​

resolve(shape, options?): Promise<ArtifactSet>

Defined in: src/node/filesystem-artifact-source.ts:36

Parameters ​

shape ​

CircuitShape

options? ​

ArtifactResolveOptions

Returns ​

Promise<ArtifactSet>

Implementation of ​

ArtifactSource.resolve