Optional
opts: Partial<Options> & { includeSystemVolumes?: boolean }Optional configuration object
If true, includes system volumes in the results. Defaults to true on Windows and false elsewhere.
Maximum number of concurrent operations. Defaults to the system's available parallelism: see https://nodejs.org/api/os.html#osavailableparallelism | os.availableParallelism()
Maximum time to wait for getVolumeMountPoints, as well as each getVolumeMetadata to complete. Defaults to TimeoutMsDefault
Optional
includeSystemVolumes?: booleanIf true, includes system volumes in the results. Defaults to true on Windows and false elsewhere.
Promise that resolves to an array of either VolumeMetadata objects or error objects containing the mount point and error
Retrieves metadata for all mounted volumes with optional filtering and concurrency control.