volumeinfo

Getting currently mounted volumes and information about them in crossplatform way.

Members

Functions

mountedVolumes
VolumeInfo[] mountedVolumes()

The list of currently mounted volumes.

volumePath
string volumePath(string path)

Get mountpoint where the provided path resides on.

Structs

VolumeInfo
struct VolumeInfo

Represents a filesystem volume. Provides information about mountpoint, filesystem type and storage size. All values except for VolumeInfo.path are retrieved on the first demand and then getting cached. Use VolumeInfo.refresh to refresh info.

Meta