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

Method get_backups

python-alpm/src/srcinfo/source_info/v1/package.rs:213–217  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

211
212 #[getter]
213 fn get_backups(&self) -> Option<Override> {
214 into_pyoverride!(self.0.backups.clone(),
215 alpm_srcinfo_package::Override::Yes { value } => Overridable::RelativeFilePaths(vec_convert!(value))
216 )
217 }
218
219 #[setter]
220 fn set_backups(&mut self, backups: Option<Override>) -> PyResult<()> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected