Functions

ensuredir (directory)

find_on_path (command)

find_package_directory (path)

get_db_dir ()

get_frameworks_dir ()

get_hooks_dir ()

get_umask ()

package_install_hooks (db, package, old_version, new_version, user_name)

package_remove_hooks (db, package, old_version, user_name)

pattern_format (format_string, args)

pattern_possible_expansion (s, format_string, args)

rmtree (file, cancellable)

run_system_hooks (db)

run_user_hooks (db, user_name)

symlink_force (target, link_name)

unlink_force (path)

Details

Click.ensuredir(directory)
Parameters:

directory (str) –

Raises:

GLib.Error

Click.find_on_path(command)
Parameters:

command (str) –

Return type:

bool

Click.find_package_directory(path)
Parameters:

path (str) –

Raises:

GLib.Error

Return type:

str

Click.get_db_dir()
Return type:

str

Click.get_frameworks_dir()
Return type:

str

Click.get_hooks_dir()
Return type:

str

Click.get_umask()
Return type:

int

Click.package_install_hooks(db, package, old_version, new_version, user_name)
Parameters:
Raises:

GLib.Error

Click.package_remove_hooks(db, package, old_version, user_name)
Parameters:
Raises:

GLib.Error

Click.pattern_format(format_string, args)
Parameters:
Return type:

str

Click.pattern_possible_expansion(s, format_string, args)
Parameters:
Return type:

GLib.Variant or None

Click.rmtree(file, cancellable)
Parameters:
Raises:

GLib.Error

Return type:

bool

Click.run_system_hooks(db)
Parameters:

db (Click.DB) –

Raises:

GLib.Error

Click.run_user_hooks(db, user_name)
Parameters:
Raises:

GLib.Error

Parameters:
  • target (str) –

  • link_name (str) –

Raises:

GLib.Error

Parameters:

path (str) –

Raises:

GLib.Error