MCPcopy Index your code
hub / github.com/Firstyear/opensuse-proxy-cache / new_tempfile

Method new_tempfile

arc-disk-cache/src/lib.rs:791–795  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

789
790 //
791 pub fn new_tempfile(&self) -> Option<NamedTempFile> {
792 NamedTempFile::new_in(&self.temp_path)
793 .map_err(|e| error!(?e))
794 .ok()
795 }
796}
797
798#[cfg(test)]

Callers 6

insert_bytesMethod · 0.80
disk_cache_test_basicFunction · 0.80
decode_cmdMethod · 0.80
prefetchMethod · 0.80
decisionMethod · 0.80
cache_mgrFunction · 0.80

Calls

no outgoing calls

Tested by 1

disk_cache_test_basicFunction · 0.64