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

Method as_ref

dev-scripts/src/cache.rs:45–47  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

43
44impl AsRef<Path> for CacheDir {
45 fn as_ref(&self) -> &Path {
46 self.0.as_path()
47 }
48}

Callers 9

test_filesFunction · 0.45
run_testsMethod · 0.45
find_files_of_typeMethod · 0.45
download_dirMethod · 0.45
target_dirMethod · 0.45
sync_remote_databasesMethod · 0.45
sync_remote_packagesMethod · 0.45
extract_pkg_filesFunction · 0.45

Calls 1

as_pathMethod · 0.45

Tested by 3

test_filesFunction · 0.36
run_testsMethod · 0.36
find_files_of_typeMethod · 0.36