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

Function setup_workspace

src/apps/cli/src/main.rs:326–330  ·  view source on GitHub ↗

Return the current project path. CLI session scope is intentionally cwd-only.

()

Source from the content-addressed store, hash-verified

324
325/// Return the current project path. CLI session scope is intentionally cwd-only.
326fn setup_workspace() -> Option<String> {
327 let workspace_path = std::env::current_dir().ok();
328 tracing::info!("Workspace path set: {:?}", workspace_path);
329 workspace_path.map(|p| p.to_string_lossy().to_string())
330}
331
332fn terminal_scripts_dir() -> std::path::PathBuf {
333 CliConfig::config_dir()

Callers 3

serve_acp_stdioFunction · 0.85
run_interactiveFunction · 0.85

Calls 1

okMethod · 0.45

Tested by

no test coverage detected