Permalink
Cannot retrieve contributors at this time
21 lines (21 sloc)
1 KB
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/@actions/artifact/lib/internal/status-reporter.d.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Status Reporter that displays information about the progress/status of an artifact that is being uploaded or downloaded | |
* | |
* Variable display time that can be adjusted using the displayFrequencyInMilliseconds variable | |
* The total status of the upload/download gets displayed according to this value | |
* If there is a large file that is being uploaded, extra information about the individual status can also be displayed using the updateLargeFileStatus function | |
*/ | |
export declare class StatusReporter { | |
private totalNumberOfFilesToProcess; | |
private processedCount; | |
private displayFrequencyInMilliseconds; | |
private largeFiles; | |
private totalFileStatus; | |
constructor(displayFrequencyInMilliseconds: number); | |
setTotalNumberOfFilesToProcess(fileTotal: number): void; | |
start(): void; | |
updateLargeFileStatus(fileName: string, chunkStartIndex: number, chunkEndIndex: number, totalUploadFileSize: number): void; | |
stop(): void; | |
incrementProcessedCount(): void; | |
private formatPercentage; | |
} |