MCPcopy Create free account
hub / github.com/Firstyear/opensuse-proxy-cache / PrefetchItem

Class PrefetchItem

opensuse-proxy-cache/src/cache.rs:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55#[derive(Debug)]
56pub struct PrefetchItem {
57 pub fetch_url: Url,
58 pub cache_key: PathBuf,
59 pub tmp_file: NamedTempFile,
60 pub cls: Classification,
61}
62
63pub enum CacheDecision {
64 // We can't cache this, stream it from a remote.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected