(
current_policy: Option<ProtoSandboxPolicy>,
gateway_endpoint: Option<String>,
sandbox_name: Option<String>,
)
| 92 | |
| 93 | impl PolicyLocalContext { |
| 94 | pub fn new( |
| 95 | current_policy: Option<ProtoSandboxPolicy>, |
| 96 | gateway_endpoint: Option<String>, |
| 97 | sandbox_name: Option<String>, |
| 98 | ) -> Self { |
| 99 | Self::with_log_dir( |
| 100 | current_policy, |
| 101 | gateway_endpoint, |
| 102 | sandbox_name, |
| 103 | PathBuf::from(LOG_DIR), |
| 104 | ) |
| 105 | } |
| 106 | |
| 107 | fn with_log_dir( |
| 108 | current_policy: Option<ProtoSandboxPolicy>, |
nothing calls this directly
no outgoing calls
no test coverage detected