Gio.Volume.prototype.get_mount

function get_mount(): Gio.Mount {
    // Gjs wrapper for g_volume_get_mount()
}
  

Gets the mount for the volume.

Returns

a Gio.Mount or null if volume isn't mounted. The returned object should be unreffed with GObject.Object.prototype.unref when no longer needed.