(dir: &Path)
| 392 | |
| 393 | impl LocalPaths { |
| 394 | fn resolve(dir: &Path) -> Self { |
| 395 | let server_dir = dir.join("server"); |
| 396 | let client_dir = dir.join("client"); |
| 397 | let jwt_dir = dir.join("jwt"); |
| 398 | Self { |
| 399 | ca_crt: dir.join("ca.crt"), |
| 400 | ca_key: dir.join("ca.key"), |
| 401 | server_crt: server_dir.join("tls.crt"), |
| 402 | server_key: server_dir.join("tls.key"), |
| 403 | server_dir, |
| 404 | client_crt: client_dir.join("tls.crt"), |
| 405 | client_key: client_dir.join("tls.key"), |
| 406 | client_dir, |
| 407 | jwt_signing: jwt_dir.join("signing.pem"), |
| 408 | jwt_public: jwt_dir.join("public.pem"), |
| 409 | jwt_kid: jwt_dir.join("kid"), |
| 410 | jwt_dir, |
| 411 | } |
| 412 | } |
| 413 | |
| 414 | fn tls_files(&self) -> [&Path; 6] { |
| 415 | [ |
nothing calls this directly
no outgoing calls
no test coverage detected