MCPcopy Index your code
hub / github.com/RustPython/RustPython / update_cert_stats

Method update_cert_stats

crates/stdlib/src/ssl.rs:2183–2186  ·  view source on GitHub ↗

Helper: Update certificate statistics

(&self, stats: cert::CertStats)

Source from the content-addressed store, hash-verified

2181
2182 /// Helper: Update certificate statistics
2183 fn update_cert_stats(&self, stats: cert::CertStats) {
2184 *self.x509_cert_count.write() += stats.total_certs;
2185 *self.ca_cert_count.write() += stats.ca_certs;
2186 }
2187 }
2188
2189 impl Representable for PySSLContext {

Callers 2

load_verify_locationsMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected