fileSystem.list
The names of the directory's entries.
Usage
List cached files.
// List cached files.
import { fileSystem } from 'kuito';
const names = await fileSystem.list(fileSystem.documents); // ['app.db', 'photos']Signatures
(uri: string): Promise<string[]>Parameters
| Name | Type | Required | Description |
|---|---|---|---|
uri | string | Yes | — |
Returns
Promise<string[]>
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.