Gio.Mount.prototype.get_volume

function get_volume(): Gio.Volume {
    // Gjs wrapper for g_mount_get_volume()
}
  

Gets the volume for the mount.

Returns

a Gio.Volume or null if mount is not associated with a volume. The returned object should be unreffed with GObject.Object.prototype.unref when no longer needed.