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

Method workspace_path_buf

src/apps/cli/src/ui/startup.rs:285–290  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

283 }
284
285 fn workspace_path_buf(&self) -> std::path::PathBuf {
286 self.workspace()
287 .map(std::path::PathBuf::from)
288 .or_else(|| std::env::current_dir().ok())
289 .unwrap_or_else(|| std::path::PathBuf::from("."))
290 }
291
292 /// Check if any popup is currently visible
293 fn any_popup_visible(&self) -> bool {

Calls 2

workspaceMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected