mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-13 09:42:43 +08:00
23 lines
649 B
TypeScript
23 lines
649 B
TypeScript
![]() |
import { CompressionLevel } from "../core";
|
||
|
export interface ArchiveOptions {
|
||
|
compression?: CompressionLevel | null;
|
||
|
/**
|
||
|
* @default false
|
||
|
*/
|
||
|
withoutDir?: boolean;
|
||
|
/**
|
||
|
* @default true
|
||
|
*/
|
||
|
solid?: boolean;
|
||
|
/**
|
||
|
* @default true
|
||
|
*/
|
||
|
isArchiveHeaderCompressed?: boolean;
|
||
|
dictSize?: number;
|
||
|
excluded?: Array<string> | null;
|
||
|
method?: "Copy" | "LZMA" | "Deflate" | "DEFAULT";
|
||
|
isRegularFile?: boolean;
|
||
|
}
|
||
|
export declare function compute7zCompressArgs(format: string, options?: ArchiveOptions): string[];
|
||
|
export declare function computeZipCompressArgs(options?: ArchiveOptions): string[];
|