Skip to content

BatchOperation

BatchOperation = { type: "copy"; sources: string[]; dest: string; } | { type: "move"; sources: string[]; dest: string; } | { type: "delete"; urls: string[]; trash?: boolean; } | { type: "rename"; url: string; newName: string; } | { type: "createDirectory"; parentUrl: string; name: string; } | { type: "createFile"; parentUrl: string; name: string; contents?: string; }

Defined in: namespaces.ts:77

A single operation in a fileOps.batch() call.