fileSystem.move
Replaces whatever is at to.
Utilização
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');Assinaturas
(from: string, to: string): Promise<void>Parâmetros
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
from | string | Sim | — |
to | string | Sim | — |
Devolve
Promise<void>
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.