MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / cached_ca_path

Method cached_ca_path

crates/cargo-lambda-remote/src/tls.rs:166–173  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

164 }
165
166 fn cached_ca_path(&self) -> Option<PathBuf> {
167 let cache = self.config_dir().map(|p| p.join("ca.pem"));
168 if cache.as_ref().is_some_and(|p| p.exists() && p.is_file()) {
169 return cache;
170 }
171
172 None
173 }
174
175 #[cfg(not(test))]
176 fn config_dir(&self) -> Option<PathBuf> {

Callers 1

ca_pathMethod · 0.80

Calls 1

config_dirMethod · 0.80

Tested by

no test coverage detected