MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / has_cert

Method has_cert

gateway/src/cert_store.rs:73–75  ·  view source on GitHub ↗

Check if a certificate exists for a domain

(&self, domain: &str)

Source from the content-addressed store, hash-verified

71
72 /// Check if a certificate exists for a domain
73 pub fn has_cert(&self, domain: &str) -> bool {
74 self.cert_data.contains_key(domain)
75 }
76
77 /// Get certificate data for a domain
78 pub fn get_cert_data(&self, domain: &str) -> Option<&CertData> {

Callers 1

zt_domain_to_protoFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected