(mut self, var: V, bind: B)
| 130 | } |
| 131 | |
| 132 | pub fn add_environment<V: AsRef<OsStr>, B: AsRef<OsStr>>(mut self, var: V, bind: B) -> Self { |
| 133 | self.environment.push("-e".into()); |
| 134 | self.environment.push(Self::environment_mapping(var, bind)); |
| 135 | self |
| 136 | } |
| 137 | |
| 138 | pub fn add_docker_switch<S: AsRef<OsStr>>(mut self, switch: S) -> Self { |
| 139 | self.switches.push(switch.as_ref().into()); |
no outgoing calls
no test coverage detected