Phials developer documentation
User guide
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

NameTypeRequiredDescription
deleteFile(path: string) => Promise<void>yesDelete file (move to trash)
renameFile(path: string, newName: string) => Promise<string>yesRename file
refresh() => Promise<void>yesRefresh current directory