penguins-eggs
Version:
A remaster system tool, compatible with Arch, Debian, Devuan, Ubuntu and others
55 lines (54 loc) • 958 B
TypeScript
/**
* ./src/classes/compressors.ts
* penguins-eggs v.10.0.0 / ecmascript 2020
* author: Piero Proietti
* email: piero.proietti@gmail.com
* license: MIT
*/
export default class Compressors {
dest: string;
isEnabled: {
error: boolean;
gzip: boolean;
lz4: boolean;
lzma: boolean;
lzo: boolean;
xz: boolean;
zstd: boolean;
};
source: string;
/**
* fast compression
* @returns
*/
fast(): string;
/**
* max
* @returns
*/
max(): string;
pendrive(level?: string): string;
/**
* populate
*/
populate(): Promise<void>;
/**
* standard
* @returns
*/
standard(): string;
/**
* check mksquashfs exists
* @param compressor
* @returns
*/
private check;
/**
* prepareCheck
*/
private prepareCheck;
/**
* removeCheck
*/
private removeCheck;
}