Files
oh-my-opencode/dist/hooks/atlas/sisyphus-path.d.ts
T
2026-03-14 04:56:50 +00:00

7 lines
307 B
TypeScript

/**
* Cross-platform check if a path is inside .sisyphus/ directory.
* Handles both forward slashes (Unix) and backslashes (Windows).
* Uses path segment matching (not substring) to avoid false positives like "not-sisyphus/file.txt"
*/
export declare function isSisyphusPath(filePath: string): boolean;