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

Function workspace_root_from_input

src/apps/desktop/src/api/skill_api.rs:134–138  ·  view source on GitHub ↗
(workspace_path: Option<&str>)

Source from the content-addressed store, hash-verified

132}
133
134fn workspace_root_from_input(workspace_path: Option<&str>) -> Option<PathBuf> {
135 workspace_path
136 .filter(|path| !path.is_empty())
137 .map(PathBuf::from)
138}
139
140fn trim_workspace_path(workspace_path: Option<&str>) -> Option<String> {
141 workspace_path

Callers 15

get_miniappFunction · 0.70
create_miniappFunction · 0.70
update_miniappFunction · 0.70
miniapp_worker_callFunction · 0.70
miniapp_host_callFunction · 0.70
miniapp_recompileFunction · 0.70
miniapp_import_from_pathFunction · 0.70
miniapp_sync_from_fsFunction · 0.70
miniapp_create_draftFunction · 0.70
miniapp_apply_draftFunction · 0.70

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected