(mut self, spec: (&path::PathBuf, &path::PathBuf))
| 124 | } |
| 125 | |
| 126 | pub fn add_volume(mut self, spec: (&path::PathBuf, &path::PathBuf)) -> Self { |
| 127 | let (src, dst) = spec; |
| 128 | self.volumes.push(Self::volume_mapping(src, dst)); |
| 129 | self |
| 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()); |
no outgoing calls
no test coverage detected