MCPcopy Create free account
hub / github.com/archlinux/alpm / build_info

Method build_info

alpm-package/src/input.rs:528–530  ·  view source on GitHub ↗

Returns a reference to the [`BuildInfo`] data of the [`PackageInput`]. # Note The [`BuildInfo`] data relates directly to an on-disk file tracked by the [`PackageInput`]. This method provides access to the data as present during the creation of the [`PackageInput`]. While the data can be guaranteed to be correct, the on-disk file may have changed between creation of the [`PackageInput`] and the c

(&self)

Source from the content-addressed store, hash-verified

526 /// of the [`PackageInput`]. While the data can be guaranteed to be correct, the on-disk
527 /// file may have changed between creation of the [`PackageInput`] and the call of this method.
528 pub fn build_info(&self) -> &BuildInfo {
529 &self.build_info
530 }
531
532 /// Returns a reference to the [`PackageInfo`] data of the [`PackageInput`].
533 ///

Callers 1

Calls

no outgoing calls

Tested by 1