mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-24 11:20:24 +08:00
13 lines
738 B
TypeScript
13 lines
738 B
TypeScript
|
/// <reference types="node" />
|
||
|
import * as fs from 'fs';
|
||
|
import { CompressionMethod } from './constants';
|
||
|
export declare function createTempDirectory(): Promise<string>;
|
||
|
export declare function getArchiveFileSizeInBytes(filePath: string): number;
|
||
|
export declare function resolvePaths(patterns: string[]): Promise<string[]>;
|
||
|
export declare function unlinkFile(filePath: fs.PathLike): Promise<void>;
|
||
|
export declare function getCompressionMethod(): Promise<CompressionMethod>;
|
||
|
export declare function getCacheFileName(compressionMethod: CompressionMethod): string;
|
||
|
export declare function isGnuTarInstalled(): Promise<boolean>;
|
||
|
export declare function assertDefined<T>(name: string, value?: T): T;
|
||
|
export declare function isGhes(): boolean;
|