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

Method from_pkgbuild

python-alpm/src/srcinfo/source_info/v1/mod.rs:30–33  ·  view source on GitHub ↗
(path: PathBuf)

Source from the content-addressed store, hash-verified

28
29 #[staticmethod]
30 fn from_pkgbuild(path: PathBuf) -> Result<Self, crate::srcinfo::error::Error> {
31 let inner = alpm_srcinfo::SourceInfoV1::from_pkgbuild(&path)?;
32 Ok(inner.into())
33 }
34
35 #[getter]
36 fn base(&self) -> package_base::PackageBase {

Calls

no outgoing calls