import File from 'pipeline-transfer/functions/transfer/transfer/artifact/file.js'
File
Represents a file inside an artifact.
Constructor Summary
Public Constructor | ||
public |
constructor(path: String, filename: String, absolutePath: String) |
Member Summary
Public Members | ||
public |
An absolute path to the underlying file |
|
public get |
The determined mime type for the file |
|
public get |
data: * |
|
public |
The S3 key which represents this file (path + filename) |
Method Summary
Public Methods | ||
public |
Uploads the file to the specific remote S3 bucket, using the supplied credentials and an optional prefix. |