CapacitorAdapter.process method
CapacitorAdapter › process
Official
Atomically read, modify, and save the contents of a plaintext file.Signature:
process(normalizedPath: string, fn: (data: string) => string, options?: DataWriteOptions | undefined): Promise<string>Parameters:
| Parameter | Type | Description |
|---|---|---|
| normalizedPath | string | |
| fn | (data: string) => string | |
| options? | DataWriteOptions | undefined | *(Optional)* |
Since: 1.7.2