Directory.getDriveCount

On Windows, returns the number of drives (partitions) mounted on the current filesystem. On other platforms, the method returns 0.

struct Directory
@nogc nothrow
long
getDriveCount
()

Meta