Skip to main content

Class: Storage

@pvm/artifacts.Storage

Hierarchy

Constructors

constructor

• new Storage(storage, opts)

Parameters

NameType
storageStorageImpl
optsStorageOpts

Defined in

packages/pvm-artifacts/lib/storage.ts:35

Properties

config

• config: Config

Defined in

packages/pvm-artifacts/lib/storage.ts:31


destPrefix

• Optional destPrefix: string

Defined in

packages/pvm-artifacts/lib/storage.ts:29


logger

• logger: SignaleType<"debug" | "silly" | "deprecate", never> = logger

Defined in

packages/pvm-artifacts/lib/storage.ts:33


storage

• storage: StorageImpl

Defined in

packages/pvm-artifacts/lib/storage.ts:30


type

• type: "repo" | "branch" | "external"

Defined in

packages/pvm-artifacts/lib/storage.ts:32

Accessors

finalized

• get finalized(): boolean

Returns

boolean

Defined in

packages/pvm-artifacts/lib/storage.ts:42


name

• get name(): string

Returns

string

Defined in

packages/pvm-artifacts/lib/storage.ts:46

Methods

downloadPath

â–¸ downloadPath(wantedLocalPath): Promise<unknown>

Parameters

NameType
wantedLocalPathstring

Returns

Promise<unknown>

Defined in

packages/pvm-artifacts/lib/storage.ts:77


finish

â–¸ finish(): Promise<void>

Returns

Promise<void>

Defined in

packages/pvm-artifacts/lib/storage.ts:50


uploadPath

â–¸ uploadPath(localPath): Promise<unknown>

Parameters

NameType
localPathstring

Returns

Promise<unknown>

Defined in

packages/pvm-artifacts/lib/storage.ts:63