FileOperationEvent
Defined in: namespaces.ts:88
Information passed to before/after hook handlers.
Properties
Section titled “Properties”type:
FileOperationType
Defined in: namespaces.ts:90
The type of operation.
paths:
string[]
Defined in: namespaces.ts:92
File URL strings involved in the operation.
success?
Section titled “success?”
optionalsuccess?:boolean
Defined in: namespaces.ts:94
Whether the operation succeeded (after-hooks only).
error?
Section titled “error?”
optionalerror?:string
Defined in: namespaces.ts:96
Error message if the operation failed (after-hooks only).
newUrl?
Section titled “newUrl?”
optionalnewUrl?:string
Defined in: namespaces.ts:98
New URL after rename/create operations (after-hooks only).
optionalurl?:string
Defined in: namespaces.ts:100
Created/target URL for createFile/createDirectory (after-hooks only).