| 63 | } |
| 64 | |
| 65 | export interface FsWatchHandler { |
| 66 | add( |
| 67 | sessionId: string, |
| 68 | connectionId: string, |
| 69 | wirePaths: readonly string[], |
| 70 | ): Promise<FsWatchResult>; |
| 71 | remove( |
| 72 | sessionId: string, |
| 73 | connectionId: string, |
| 74 | wirePaths: readonly string[], |
| 75 | ): Promise<FsWatchResult>; |
| 76 | cleanupConnection(connectionId: string): void; |
| 77 | } |
| 78 | |
| 79 | export type FsWatchResult = |
| 80 | | { ok: true; watched_paths: string[]; current_count: number } |
no outgoing calls
no test coverage detected