Files
ObsidianPad/node_modules/@electron/universal/dist/cjs/file-utils.d.ts
T
dinlo 436a9631fc Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-31 18:44:04 +08:00

19 lines
432 B
TypeScript

/// <reference types="node" />
export declare enum AppFileType {
MACHO = 0,
PLAIN = 1,
INFO_PLIST = 2,
SNAPSHOT = 3,
APP_CODE = 4
}
export type AppFile = {
relativePath: string;
type: AppFileType;
};
/**
*
* @param appPath Path to the application
*/
export declare const getAllAppFiles: (appPath: string) => Promise<AppFile[]>;
export declare const readMachOHeader: (path: string) => Promise<Buffer>;