• Retrieves metadata for all mounted volumes with optional filtering and concurrency control.

    Parameters

    • Optionalopts: Partial<Options> & { includeSystemVolumes?: boolean }

      Optional configuration object

      • includeSystemVolumes

        If true, includes system volumes in the results. Defaults to true on Windows and false elsewhere.

      • maxConcurrency

        Maximum number of concurrent operations. Defaults to the system's available parallelism: see https://nodejs.org/api/os.html#osavailableparallelism | os.availableParallelism()

      • timeoutMs

        Maximum time to wait for getVolumeMountPointsImpl, as well as each getVolumeMetadataImpl to complete. Defaults to TimeoutMsDefault

      • OptionalincludeSystemVolumes?: boolean

        If true, includes system volumes in the results. Defaults to true on Windows and false elsewhere.

    Returns Promise<VolumeMetadata[]>

    Promise that resolves to an array of either VolumeMetadata objects or error objects containing the mount point and error

    Never - errors are caught and returned as part of the result array