MCPcopy Create free account
hub / github.com/elastio/devx / bin

Method bin

devx-cmd/src/lib.rs:287–290  ·  view source on GitHub ↗

Set binary path, overwrites the path that was set before.

(&mut self, bin: impl Into<PathBuf>)

Source from the content-addressed store, hash-verified

285
286 /// Set binary path, overwrites the path that was set before.
287 pub fn bin(&mut self, bin: impl Into<PathBuf>) -> &mut Self {
288 self.as_mut().bin = bin.into();
289 self
290 }
291
292 /// Retuns the currently configured binary path.
293 pub fn get_bin(&self) -> &Path {

Callers

nothing calls this directly

Calls 1

as_mutMethod · 0.80

Tested by

no test coverage detected