From 03b599b0f613dca194cf99ffbff01c5004015756 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Tue, 29 Oct 2024 16:48:15 +0100 Subject: [PATCH] Add code comment --- electron/main/file-library.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/electron/main/file-library.js b/electron/main/file-library.js index a21e7e61..69995234 100644 --- a/electron/main/file-library.js +++ b/electron/main/file-library.js @@ -125,6 +125,9 @@ export class FileLibrary { return notes } + /** + * @returns {Array} List of path to all directories, but not the root directory. + */ async getDirectoryList() { const directories = await this.jetpack.findAsync("", { files: false,