MCPcopy Create free account
hub / github.com/Metaswitch/floki / add_volume

Method add_volume

src/command.rs:126–130  ·  view source on GitHub ↗
(mut self, spec: (&path::PathBuf, &path::PathBuf))

Source from the content-addressed store, hash-verified

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());

Callers 4

enable_forward_ssh_agentFunction · 0.80
newMethod · 0.80
run_floki_containerFunction · 0.80
configure_volumesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected