Gio.Mount.prototype.get_root

function get_root(): Gio.File {
    // Gjs wrapper for g_mount_get_root()
}
  

Gets the root directory on mount.

Returns

a Gio.File. The returned object should be unreffed with GObject.Object.prototype.unref when no longer needed.