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

Method as_ref

alpm-package/src/input.rs:168–170  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

166
167impl AsRef<Path> for InputDir {
168 fn as_ref(&self) -> &Path {
169 &self.0
170 }
171}
172
173/// Compares the hash digest of a file with the recorded data in an [`Mtree`].

Callers 15

get_build_infoFunction · 0.45
get_package_infoFunction · 0.45
get_mtreeFunction · 0.45
input_dirMethod · 0.45
mtreeMethod · 0.45
try_fromMethod · 0.45
check_scriptletFunction · 0.45
create_data_filesFunction · 0.45
create_build_info_fileFunction · 0.45
create_package_info_fileFunction · 0.45
create_install_scriptletFunction · 0.45
create_mtree_fileFunction · 0.45

Calls

no outgoing calls

Tested by 7

create_data_filesFunction · 0.36
create_build_info_fileFunction · 0.36
create_package_info_fileFunction · 0.36
create_install_scriptletFunction · 0.36
create_mtree_fileFunction · 0.36
prepare_input_dirFunction · 0.36
package_digestFunction · 0.36