snapcube
Version:
📦 Snapshot, backup, and restore any project — binary-safe, fast, and simple CLI.
10 lines • 348 B
TypeScript
/**
* Validates whether a given file is a valid SnapCube JSON file.
* Checks:
* - File exists and is a regular file
* - JSON parses successfully
* - JSON is an array
* - Each entry matches SnapCubeFile structure
*/
export declare const isSnapcubeJsonValid: (filePath: string) => boolean;
//# sourceMappingURL=isSnapcubeJsonValid.d.ts.map