MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / devices

Method devices

src/task_builder.rs:216–219  ·  view source on GitHub ↗

Sets device paths to expose to the container. These are merged with devices from config files.

(mut self, devices: Vec<String>)

Source from the content-addressed store, hash-verified

214 /// Sets device paths to expose to the container.
215 /// These are merged with devices from config files.
216 pub fn devices(mut self, devices: Vec<String>) -> Self {
217 self.devices = devices;
218 self
219 }
220
221 /// Overrides the source directory used when copying the repository.
222 /// When set, this path is used instead of the auto-detected repository root.

Callers 2

retry_taskMethod · 0.80
configure_builderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected