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

Method as_path

alpm-package/src/package.rs:99–101  ·  view source on GitHub ↗

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

(&self)

Source from the content-addressed store, hash-verified

97 ///
98 /// Delegates to [`PathBuf::as_path`].
99 pub fn as_path(&self) -> &Path {
100 self.0.as_path()
101 }
102
103 /// Converts a Path to an owned PathBuf.
104 ///

Callers 2

append_relative_filesFunction · 0.45
try_fromMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected