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

Enum Action

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

Source from the content-addressed store, hash-verified

38
39#[derive(Debug)]
40pub enum Action {
41 Submit {
42 file: NamedTempFile,
43 // These need to be extracted
44 headers: BTreeMap<String, String>,
45 // amt: usize,
46 // hash_str: String,
47 cls: Classification,
48 },
49 Update,
50 NotFound {
51 cls: Classification,
52 },
53}
54
55#[derive(Debug)]
56pub struct PrefetchItem {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected