Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_bytes
Method · 0.80
disk_cache_test_basic
Function · 0.80
decode_cmd
Method · 0.80
prefetch
Method · 0.80
decision
Method · 0.80
cache_mgr
Function · 0.80
Calls
no outgoing calls
Tested by
1
disk_cache_test_basic
Function · 0.64