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

Function write_cert

gateway/src/main.rs:225–229  ·  view source on GitHub ↗
(path: &str, cert: &str)

Source from the content-addressed store, hash-verified

223}
224
225fn write_cert(path: &str, cert: &str) -> Result<()> {
226 info!("Writing cert to file: {path}");
227 safe_write::safe_write(path, cert)?;
228 Ok(())
229}
230
231#[rocket::main]
232async fn main() -> Result<()> {

Callers 2

gen_prod_certsFunction · 0.85
gen_debug_certsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected