MCPcopy Create free account

hub / github.com/ChrisMacNaughton/cargo-cacher / functions

Functions28 in github.com/ChrisMacNaughton/cargo-cacher

↓ 3 callersFunctiontry_fetch
(config: &Config, crate_name: &str, crate_version: &str)
src/crates.rs:56
↓ 2 callersFunctionfetch
( path: &PathBuf, upstream: &str, index_path: &str, crate_name: &str, crate_version: &str,
src/crates.rs:23
↓ 2 callersFunctionfetch_all
(config: &Config)
src/crates.rs:104
↓ 2 callersFunctiongit_sync
(git_path: &PathBuf, index_path: &str, extern_url: &str)
src/index_sync.rs:22
↓ 2 callersFunctionsize
(path: &PathBuf)
src/crates.rs:49
↓ 2 callersMethodstats
(&self)
src/stats.rs:81
↓ 1 callersMethodadd_request
(&self, crate_name: T,
src/stats.rs:170
↓ 1 callersMethodas_json
(&self)
src/stats.rs:22
↓ 1 callersMethodbandwidth_saved
(&self, time: T)
src/stats.rs:126
↓ 1 callersMethodcrate_id
(&self, name: T)
src/stats.rs:143
↓ 1 callersMethoddownloads
(&self, time: T)
src/stats.rs:94
↓ 1 callersFunctionfetch_lock
(config: &Config)
src/crates.rs:153
↓ 1 callersMethodhits
(&self, time: T)
src/stats.rs:110
↓ 1 callersFunctioninit_sync
(git_path: PathBuf, config: &Config)
src/index_sync.rs:10
↓ 1 callersFunctionpre_fetch
(config: &Config)
src/crates.rs:77
↓ 1 callersFunctionserver
(config: &Config, stats: SyncSender<CargoRequest>)
src/main.rs:258
↓ 1 callersFunctionsetup_filesystem
(config: &Config)
src/main.rs:243
↓ 1 callersFunctionstat_collector
()
src/stats.rs:200
↓ 1 callersMethodversion_id
(&self, crate_id: i32, version: T)
src/stats.rs:154
Methodafter
(&self, _req: &mut Request, mut res: Response)
src/main.rs:251
Functionfetch_download
( req: &mut Request, config: &Config, stats: &Mutex<SyncSender<CargoRequest>>, )
src/main.rs:315
Functiongit
(req: &mut Request, config: &Config)
src/git.rs:18
Methodinit
()
src/main.rs:65
Functionlog
(req: &mut Request)
src/main.rs:310
Functionmain
()
src/main.rs:228
Methodnew
(connection_string: Option<T>)
src/stats.rs:33
Functionstats_json
()
src/main.rs:393
Functionstats_view
()
src/main.rs:380