Click.SingleDB

g Click.SingleDB Click.SingleDB GObject.Object GObject.Object GObject.Object->Click.SingleDB

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

any_app_running (package, version)

app_running (package, app_name, version)

ensure_ownership ()

gc ()

get_manifest (package, version)

get_manifest_as_string (package, version)

get_packages (all_versions)

get_path (package, version)

get_root ()

has_package_version (package, version)

maybe_remove (package, version)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

root

str

r/w/co

root

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Click.SingleDB(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Click.SingleDBClass

any_app_running(package, version)
Parameters:
  • package (str) –

  • version (str) –

Raises:

GLib.Error

Return type:

bool

app_running(package, app_name, version)
Parameters:
  • package (str) –

  • app_name (str) –

  • version (str) –

Return type:

bool

ensure_ownership()
Raises:

GLib.Error

gc()
Raises:

GLib.Error

get_manifest(package, version)
Parameters:
  • package (str) –

  • version (str) –

Raises:

GLib.Error

Return type:

Json.Object

get_manifest_as_string(package, version)
Parameters:
  • package (str) –

  • version (str) –

Raises:

GLib.Error

Return type:

str

get_packages(all_versions)
Parameters:

all_versions (bool) –

Raises:

GLib.Error

Return type:

[Click.InstalledPackage]

get_path(package, version)
Parameters:
  • package (str) –

  • version (str) –

Raises:

GLib.Error

Return type:

str

get_root()
Return type:

str

has_package_version(package, version)
Parameters:
  • package (str) –

  • version (str) –

Return type:

bool

maybe_remove(package, version)
Parameters:
  • package (str) –

  • version (str) –

Raises:

GLib.Error

Property Details

Click.SingleDB.props.root
Name:

root

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

root