fileSystem.move
Replaces whatever is at to.
Usage
Move a temporary file to documents.
// Move a temporary file to documents.
import { fileSystem } from 'kuito';
await fileSystem.move(fileSystem.cache + 'report.tmp', fileSystem.documents + 'report.pdf');Signatures
(from: string, to: string): Promise<void>Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | string | Yes | — |
to | string | Yes | — |
Returns
Promise<void>
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.