buildahcker
Version:
Buildahcker is a node.js library to create and run commands in OCI (Open Container Initiative) container images (or docker images), based on Buildah and a hash-based cache. It also contains utilities to easily create a partitioned bootable disk image of a
6 lines (5 loc) • 455 B
TypeScript
export declare const removeIfEmpty: (directory: string) => Promise<void>;
export declare const prepareOutputFile: (outputFile: string) => Promise<string>;
export declare const openFile: (pathOrFd: string | number, flags: string) => Promise<number>;
export declare const closeFile: (fd: number, pathOrFd: string | number) => Promise<unknown>;
export declare const readFromFile: (fd: number, offset: number, length: number) => Promise<Buffer<ArrayBuffer>>;