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

Function shm_name_for_udid

packages/server/src/camera.rs:487–489  ·  view source on GitHub ↗
(udid: &str)

Source from the content-addressed store, hash-verified

485}
486
487fn shm_name_for_udid(udid: &str) -> String {
488 format!("/sd-cam-{}", short_hash(udid))
489}
490
491fn short_hash(value: &str) -> String {
492 let digest = Sha256::digest(value.as_bytes());

Callers 1

start_cameraFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected