MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / paths_refer_to_same_file

Function paths_refer_to_same_file

packages/server/src/main.rs:2274–2282  ·  view source on GitHub ↗
(left: &Path, right: &Path)

Source from the content-addressed store, hash-verified

2272}
2273
2274fn paths_refer_to_same_file(left: &Path, right: &Path) -> bool {
2275 if left == right {
2276 return true;
2277 }
2278 match (left.canonicalize(), right.canonicalize()) {
2279 (Ok(left), Ok(right)) => left == right,
2280 _ => false,
2281 }
2282}
2283
2284fn service_matches_launch_options(
2285 metadata: &ServiceMetadata,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected