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

Method to_path_buf

alpm-common/src/package/input.rs:68–70  ·  view source on GitHub ↗

Returns an absolute path as combination of base directory and relative path.

(&self)

Source from the content-addressed store, hash-verified

66
67 /// Returns an absolute path as combination of base directory and relative path.
68 pub fn to_path_buf(&self) -> PathBuf {
69 self.base_dir.join(self.path)
70 }
71}
72
73/// A set of input paths.

Callers 3

newMethod · 0.45
collect_filesFunction · 0.45
nextMethod · 0.45

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected