MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / all_files

Method all_files

crates/openshell-server/src/certgen.rs:430–442  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

428
429 #[cfg(test)]
430 fn all_files(&self) -> [&Path; 9] {
431 [
432 &self.ca_crt,
433 &self.ca_key,
434 &self.server_crt,
435 &self.server_key,
436 &self.client_crt,
437 &self.client_key,
438 &self.jwt_signing,
439 &self.jwt_public,
440 &self.jwt_kid,
441 ]
442 }
443
444 fn tls_existence_count(&self) -> usize {
445 self.tls_files().iter().filter(|p| p.exists()).count()

Calls

no outgoing calls