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

Function trim_workspace_path

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

Source from the content-addressed store, hash-verified

138}
139
140fn trim_workspace_path(workspace_path: Option<&str>) -> Option<String> {
141 workspace_path
142 .map(str::trim)
143 .filter(|path| !path.is_empty())
144 .map(str::to_string)
145}
146
147async fn lookup_remote_entry_for_path(
148 state: &State<'_, AppState>,

Callers 2

resolve_remote_workspaceFunction · 0.85
download_skill_marketFunction · 0.85

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected