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

Method sudo

src/task_builder.rs:209–212  ·  view source on GitHub ↗

Sets whether passwordless sudo is enabled inside the container. Uses `Option ` so `None` defers to config-file defaults.

(mut self, enabled: Option<bool>)

Source from the content-addressed store, hash-verified

207 /// Sets whether passwordless sudo is enabled inside the container.
208 /// Uses `Option<bool>` so `None` defers to config-file defaults.
209 pub fn sudo(mut self, enabled: Option<bool>) -> Self {
210 self.sudo = enabled;
211 self
212 }
213
214 /// Sets device paths to expose to the container.
215 /// These are merged with devices from config files.

Callers 2

retry_taskMethod · 0.80
configure_builderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected