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

Function now_ms

packages/server/src/api/routes.rs:1001–1006  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

999}
1000
1001fn now_ms() -> u64 {
1002 SystemTime::now()
1003 .duration_since(UNIX_EPOCH)
1004 .unwrap_or(Duration::ZERO)
1005 .as_millis() as u64
1006}
1007
1008fn normalize_video_codec(codec: &str) -> Option<&'static str> {
1009 match codec.trim().to_ascii_lowercase().as_str() {

Callers 1

simulator_stateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected