MCPcopy Create free account
hub / github.com/GCWing/BitFun / workspace

Method workspace

src/apps/cli/src/ui/startup.rs:272–278  ·  view source on GitHub ↗

Get the current workspace path for this CLI process.

(&self)

Source from the content-addressed store, hash-verified

270
271 /// Get the current workspace path for this CLI process.
272 pub fn workspace(&self) -> Option<String> {
273 if self.workspace_display.is_empty() {
274 None
275 } else {
276 Some(self.workspace_display.clone())
277 }
278 }
279
280 /// Get the current CLI config after startup-page edits.
281 pub fn config(&self) -> &CliConfig {

Callers 2

run_interactiveFunction · 0.45
workspace_path_bufMethod · 0.45

Calls 2

is_emptyMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected