Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

708 B
Raw Blame
export type UnsafeDeviceReadPathReason = "posix-device" | "posix-fd" | "windows-device";
export type UnsafeDeviceReadPathMatch = {
    path: string;
    reason: UnsafeDeviceReadPathReason;
};
export type UnsafeDeviceReadPathOptions = {
    cwd?: string;
    platform?: NodeJS.Platform;
};
export declare function matchUnsafeDeviceReadPath(filePath: string, options?: UnsafeDeviceReadPathOptions): UnsafeDeviceReadPathMatch | undefined;
export declare function isUnsafeDeviceReadPath(filePath: string, options?: UnsafeDeviceReadPathOptions): boolean;
export declare function assertNoUnsafeDeviceReadPath(filePath: string, options?: UnsafeDeviceReadPathOptions): void;
//# sourceMappingURL=device-path.d.ts.map