Skip to content

CapacitorAdapterFs.delete method

CapacitorAdapterFs › delete

Unofficial

Delete a file at the given path.

Signature:

delete(realPath: string): Promise<void>

Parameters:

Parameter Type Description
realPath string File path to delete.

Returns: Promise<void>A promise that resolves when the file is deleted.