Struct libalpm::Package [] [src]

pub struct Package<'a> { /* fields omitted */ }

An owning version of Package

Methods

impl<'b> Package<'b>
[src]

Creates a package from a file

Methods from Deref<Target = PackageRef>

Checks package integrity using md5. Returns true on success.

Gets a list of all packages that require this package.

Gets a list of all packages optionally require this package.

Should this package be ignored when upgrading (as set on the alpm handle).

Get the name of the file containing this package.

Gets the package base name, if it has one.

Gets the package name.

Gets the package version.

Gets the origin of the package.

Gets the package description.

Gets the package url.

Gets the package build date.

Gets the install timestamp of this package.

Gets the packager's name

Gets the md5 checksum for this package.

Gets the sha256 checksum for this package.

Gets the architecture for which this package was built.

Gets the size of the package on a sync database.

Returns the size of the package when it is installed.

Gets the reason this package was installed.

Gets the licenses for this package

Gets the groups this package belongs to.

Gets the packages this package depends on.

Gets the packages this package optionally depends on.

Gets the packages this package conflicts with.

Gets the packages provided by this package.

Gets the available deltas for this package.

Gets a list of packages to be replaced by this package.

Gets a list of files installed by this package.

Gets a list of files backed up when installing this package.

Get thie base64 encoded package signature.

Gets the method used to validate a package during install

Opens the changelog for reading

Gets the package's mtree.

Returns true if the package has an install scriptlet, false if not.

Gets the size of the download required to install this package, or to upgrade this package to the version of self.

Dont know what this is for

TODO I'm guessing the return type as it's not in the alpm.h docs. I'm setting it to match deltas. check for segfaults.

Sets the reason for a package in the local database. Returns true if reason was successfully changed, false otherwise.

Use Alpm.error to get an error on failure.

(As part of overall transaction) Checks for new version of this package in sync repos.

Returns the first newer version found

Trait Implementations

impl<'a> Drop for Package<'a>
[src]

A method called when the value goes out of scope. Read more

impl<'a> Deref for Package<'a>
[src]

The resulting type after dereferencing

The method called to dereference a value