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

Method from

dev-scripts/src/cache.rs:37–41  ·  view source on GitHub ↗
(value: PathBuf)

Source from the content-addressed store, hash-verified

35
36impl From<PathBuf> for CacheDir {
37 fn from(value: PathBuf) -> Self {
38 debug!("Using path {value:?} as cache dir.");
39
40 Self(value)
41 }
42}
43
44impl AsRef<Path> for CacheDir {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected