diff --git a/packages/core/src/storage/FileSystem.ts b/packages/core/src/storage/FileSystem.ts index 35a95a897503f49834788ab67026630fad52f576..fbf8e2e2f6bbf63a94f6ab74ee824c7d49c7dd48 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