Function scanLocalDrive

  • From the point of entry we scan the local drive recursively for Directories and files with a given file extension.

    Returns

    Promise of VirtualFileSystemEntry that is recursive.

    Parameters

    • directoryHandle: FileSystemDirectoryHandle

      the root from where we want to scan from

    • fileTypes: string[] = ...

      an array of the files we want to return in the results

    • maxDepth: number = 10

      how deep do you want to scan

    • excludedFolders: string[] = FoldersToExcludeFromScanning

    Returns Promise<VirtualFileSystemEntry>

Generated using TypeDoc