From 6980fc89ffb51773cc41c5b4f266aeaec5ad8148 Mon Sep 17 00:00:00 2001 From: Sourabh Desai <sourabhdesai@gmail.com> Date: Tue, 27 Jun 2023 07:17:28 +0000 Subject: [PATCH] docstring --- packages/core/src/storage/FileSystem.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/core/src/storage/FileSystem.ts b/packages/core/src/storage/FileSystem.ts index 35a95a897..fbf8e2e2f 100644 --- a/packages/core/src/storage/FileSystem.ts +++ b/packages/core/src/storage/FileSystem.ts @@ -83,6 +83,11 @@ export async function exists( } } +/** + * Recursively traverses a directory and yields all the paths to the files in it. + * @param fs The filesystem to use. + * @param dirPath The path to the directory to traverse. + */ export async function* walk( fs: WalkableFileSystem, dirPath: string -- GitLab