A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fs: add support for listing all files
Abdullah Attaa4c0e8412b49
diff --git a/packages/streamable-fs/index.ts b/packages/streamable-fs/index.tsindex 0a200d7bb..027e0d850 100644--- a/packages/streamable-fs/index.ts+++ b/packages/streamable-fs/index.ts@@ -58,6 +58,10 @@ export class StreamableFS implements IStreamableFS {return !!file;}+ async list(): Promise<string[]> {+ return this.list();+ }+async deleteFile(filename: string): Promise<boolean> {const handle = await this.readFile(filename);if (!handle) return true;