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

SelectionFileOpsAPI

File operations API for selection providers (supports multiple files)

Signature

interface SelectionFileOpsAPI {
    deleteFiles(paths: string[]): Promise<void>;
    refresh(): Promise<void>;
    clearSelection(): void;
}

Members

NameTypeRequiredDescription
deleteFiles(paths: string[]) => Promise<void>yesDelete multiple files (move to trash)
refresh() => Promise<void>yesRefresh current directory
clearSelection() => voidyesClear the current selection