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

Function workspace_root_from_request

src/apps/desktop/src/api/subagent_api.rs:35–39  ·  view source on GitHub ↗
(workspace_path: Option<&str>)

Source from the content-addressed store, hash-verified

33}
34
35fn workspace_root_from_request(workspace_path: Option<&str>) -> Option<PathBuf> {
36 workspace_path
37 .filter(|path| !path.is_empty())
38 .map(PathBuf::from)
39}
40
41#[tauri::command]
42pub async fn list_subagents(

Callers 8

list_subagentsFunction · 0.70
list_visible_subagentsFunction · 0.70
get_subagent_detailFunction · 0.70
update_subagentFunction · 0.70
create_subagentFunction · 0.70
reload_subagentsFunction · 0.70
update_subagent_configFunction · 0.70

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected