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

Function is_valid_mobile_web_dir

src/apps/desktop/src/api/remote_connect_api.rs:191–193  ·  view source on GitHub ↗
(dir: &std::path::Path)

Source from the content-addressed store, hash-verified

189}
190
191fn is_valid_mobile_web_dir(dir: &std::path::Path) -> bool {
192 dir.join("index.html").exists() && dir.join("assets").is_dir()
193}
194
195// ── Request / Response DTOs ────────────────────────────────────────
196

Callers 2

detect_mobile_web_dirFunction · 0.85
check_candidatesFunction · 0.85

Calls 3

existsMethod · 0.45
joinMethod · 0.45
is_dirMethod · 0.45

Tested by

no test coverage detected