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

Method as_path

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

Coerces to a Path slice. Delegates to [`PathBuf::as_path`].

(&self)

Source from the content-addressed store, hash-verified

146 ///
147 /// Delegates to [`PathBuf::as_path`].
148 pub fn as_path(&self) -> &Path {
149 self.0.as_path()
150 }
151
152 /// Converts a Path to an owned PathBuf.
153 ///

Callers 15

compare_digestsFunction · 0.45
get_mtreeFunction · 0.45
mtreeMethod · 0.45
input_pathsMethod · 0.45
try_fromMethod · 0.45
collect_filesFunction · 0.45
as_refMethod · 0.45
try_fromMethod · 0.45
try_from_partsMethod · 0.45
get_raw_dependenciesFunction · 0.45
extract_elf_sonamesFunction · 0.45
find_provisionsFunction · 0.45

Calls

no outgoing calls

Tested by 1