pacman

package
v0.0.0-...-545993c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RepoAdd

func RepoAdd(dbPath, pkgFilePath string, useSignedDB bool, gnupgDir *string) error

RepoAdd uses `repo-add` to add the *.pkg.tar.zst located at pkgFilePath to the Pacman repository database located at dbPath.

If pkgFilePath is an empty string (""), the argument will not be passed to `repo-add`. This is useful for creating an empty database

If the database should be signed, set useSignedDB to true and set gnupgDir to the directory to store the keyring in.

func RepoRemove

func RepoRemove(dbPath, packageName string, useSignedDB bool, gnupgDir *string) error

RepoRemove uses `repo-remove` to remove the specified package from the database located at dbPath.

If the database should be signed, set useSignedDB to true and set gnupgDir to the directory to store the keyring in.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL