balena-config-json
Version:
Balena config.json manipulation utilities
8 lines (7 loc) • 338 B
TypeScript
export declare const configJsonPath = "/config.json";
/**
* Returns the boot partition number of the given image, or 'undefined'
* if the partition table is empty or missing.
* @param imagePath Local filesystem path to a balenaOS image file
*/
export declare function getBootPartition(imagePath: string): Promise<number | undefined>;