Class: Storage
@pvm/artifacts.Storage
Hierarchy
Storage
Constructors
constructor
• new Storage(storage
, opts
)
Parameters
Name | Type |
---|---|
storage | StorageImpl |
opts | StorageOpts |
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
Name | Type |
---|---|
wantedLocalPath | string |
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
Name | Type |
---|---|
localPath | string |
Returns
Promise
<unknown
>