balena-cli
Version:
The official balena Command Line Interface
10 lines (9 loc) • 319 B
TypeScript
import type * as Fs from 'fs';
export declare enum BalenaPartition {
BOOT = "boot",
ROOTA = "rootA",
ROOTB = "rootB",
STATE = "state",
DATA = "data"
}
export declare function explorePartition<T>(imagePath: string, partitionId: BalenaPartition, exploreFn: (fs: typeof Fs) => Promise<T>): Promise<T>;