MCPcopy Create free account
hub / github.com/brocode/fw / get_shell_or_default

Method get_shell_or_default

src/config/settings.rs:41–43  ·  view source on GitHub ↗
(self: &Settings)

Source from the content-addressed store, hash-verified

39
40impl Settings {
41 pub fn get_shell_or_default(self: &Settings) -> Vec<String> {
42 self.shell.clone().unwrap_or_else(|| vec!["sh".to_owned(), "-c".to_owned()])
43 }
44}
45
46#[derive(Deserialize, Serialize, Debug, Clone)]

Callers 4

clone_projectFunction · 0.80
reworkonFunction · 0.80
autotagFunction · 0.80
foreachFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected