AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0
FileOpsAPI
File operations API for context providers
Signature
interface FileOpsAPI {
deleteFile(path: string): Promise<void>;
renameFile(path: string, newName: string): Promise<string>;
refresh(): Promise<void>;
}Members
| Name | Type | Required | Description |
|---|---|---|---|
deleteFile | (path: string) => Promise<void> | yes | Delete file (move to trash) |
renameFile | (path: string, newName: string) => Promise<string> | yes | Rename file |
refresh | () => Promise<void> | yes | Refresh current directory |