mirror of
https://github.com/run-llama/LlamaIndexTS.git
synced 2026-07-16 07:14:29 -04:00
1.8 KiB
1.8 KiB
id, title, sidebar_label, sidebar_position, custom_edit_url
| id | title | sidebar_label | sidebar_position | custom_edit_url |
|---|---|---|---|---|
| GenericFileSystem | Interface: GenericFileSystem | GenericFileSystem | 0 | null |
A filesystem interface that is meant to be compatible with the 'fs' module from Node.js. Allows for the use of similar inteface implementation on browsers.
Implemented by
Methods
access
▸ access(path): Promise<void>
Parameters
| Name | Type |
|---|---|
path |
string |
Returns
Promise<void>
Defined in
mkdir
▸ mkdir(path, options?): Promise<void>
Parameters
| Name | Type |
|---|---|
path |
string |
options? |
any |
Returns
Promise<void>
Defined in
readFile
▸ readFile(path, options?): Promise<string>
Parameters
| Name | Type |
|---|---|
path |
string |
options? |
any |
Returns
Promise<string>
Defined in
writeFile
▸ writeFile(path, content, options?): Promise<void>
Parameters
| Name | Type |
|---|---|
path |
string |
content |
string |
options? |
any |
Returns
Promise<void>