Package-level declarations

Types

Link copied to clipboard
external class HTTPError : Throwable
Link copied to clipboard
external interface IToolRelease
Link copied to clipboard
external interface IToolReleaseFile
Link copied to clipboard
external class RetryHelper

Functions

Link copied to clipboard
external fun _findMatch(versionSpec: String, stable: Boolean, candidates: ReadonlyArray<IToolRelease>, archFilter: String): Promise<IToolRelease?>
Link copied to clipboard
external fun _getOsVersion(): String
Link copied to clipboard
Link copied to clipboard
suspend external fun cacheDir(sourceDir: String, tool: String, version: String, arch: String = definedExternally): String
Link copied to clipboard
external fun cacheDirAsync(sourceDir: String, tool: String, version: String, arch: String = definedExternally): Promise<String>
Link copied to clipboard
suspend external fun cacheFile(sourceFile: String, targetFile: String, tool: String, version: String, arch: String = definedExternally): String
Link copied to clipboard
external fun cacheFileAsync(sourceFile: String, targetFile: String, tool: String, version: String, arch: String = definedExternally): Promise<String>
Link copied to clipboard
suspend external fun downloadTool(url: String, dest: String = definedExternally, auth: String = definedExternally, headers: OutgoingHttpHeaders = definedExternally): String
Link copied to clipboard
external fun downloadToolAsync(url: String, dest: String = definedExternally, auth: String = definedExternally, headers: OutgoingHttpHeaders = definedExternally): Promise<String>
Link copied to clipboard
external fun evaluateVersions(versions: ReadonlyArray<String>, versionSpec: String): String
Link copied to clipboard
suspend external fun extract7z(file: String, dest: String = definedExternally, _7zPath: String = definedExternally): String
Link copied to clipboard
external fun extract7zAsync(file: String, dest: String = definedExternally, _7zPath: String = definedExternally): Promise<String>
Link copied to clipboard
suspend external fun extractTar(file: String, dest: String = definedExternally, flags: ReadonlyArray<String> = definedExternally): String
Link copied to clipboard
external fun extractTarAsync(file: String, dest: String = definedExternally, flags: ReadonlyArray<String> = definedExternally): Promise<String>
Link copied to clipboard
suspend external fun extractXar(file: String, dest: String = definedExternally, flags: ReadonlyArray<String> = definedExternally): String
Link copied to clipboard
external fun extractXarAsync(file: String, dest: String = definedExternally, flags: ReadonlyArray<String> = definedExternally): Promise<String>
Link copied to clipboard
suspend external fun extractZip(file: String, dest: String = definedExternally): String
Link copied to clipboard
external fun extractZipAsync(file: String, dest: String = definedExternally): Promise<String>
Link copied to clipboard
external fun find(toolName: String, versionSpec: String, arch: String = definedExternally): String
Link copied to clipboard
external fun findAllVersions(toolName: String, arch: String = definedExternally): ReadonlyArray<String>
Link copied to clipboard
suspend external fun findFromManifest(versionSpec: String, stable: Boolean, manifest: ReadonlyArray<IToolRelease>, archFilter: String = definedExternally): IToolRelease?
Link copied to clipboard
external fun findFromManifestAsync(versionSpec: String, stable: Boolean, manifest: ReadonlyArray<IToolRelease>, archFilter: String = definedExternally): Promise<IToolRelease?>
Link copied to clipboard
suspend external fun getManifestFromRepo(owner: String, repo: String, auth: String = definedExternally, branch: String = definedExternally): ReadonlyArray<IToolRelease>
Link copied to clipboard
external fun getManifestFromRepoAsync(owner: String, repo: String, auth: String = definedExternally, branch: String = definedExternally): Promise<ReadonlyArray<IToolRelease>>
Link copied to clipboard
external fun isExplicitVersion(versionSpec: String): Boolean