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

Method new

python-alpm/src/types/env.rs:51–54  ·  view source on GitHub ↗
(option: &str)

Source from the content-addressed store, hash-verified

49impl BuildEnvironmentOption {
50 #[new]
51 fn new(option: &str) -> Result<Self, crate::types::Error> {
52 let inner = alpm_types::BuildEnvironmentOption::new(option)?;
53 Ok(Self(inner))
54 }
55
56 #[getter]
57 fn name(&self) -> String {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected