fileSystem.move
Replaces whatever is at to.
Verwendung
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');Signaturen
(from: string, to: string): Promise<void>Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
from | string | Ja | — |
to | string | Ja | — |
Rückgabe
Promise<void>
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.