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

Function check_path_exists

src/apps/desktop/src/api/commands.rs:2891–2896  ·  view source on GitHub ↗
(
    state: State<'_, AppState>,
    request: CheckPathExistsRequest,
)

Source from the content-addressed store, hash-verified

2889
2890#[tauri::command]
2891pub async fn check_path_exists(
2892 state: State<'_, AppState>,
2893 request: CheckPathExistsRequest,
2894) -> Result<bool, String> {
2895 path_exists(&state, &request.path).await
2896}
2897
2898#[tauri::command]
2899pub async fn get_file_metadata(

Callers

nothing calls this directly

Calls 1

path_existsFunction · 0.85

Tested by

no test coverage detected