* List interface: Returns all indexed files/directories.
()
| 223 | * List interface: Returns all indexed files/directories. |
| 224 | */ |
| 225 | public async list(): Promise<string[]> { |
| 226 | const res = await this.request("/list", "GET"); |
| 227 | return Array.isArray(res) ? res : []; |
| 228 | } |
| 229 | |
| 230 | /** |
| 231 | * Remove interface: Removes a path from the index. |