MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / encode_ts

Function encode_ts

gateway/src/main_service.rs:1407–1409  ·  view source on GitHub ↗
(ts: SystemTime)

Source from the content-addressed store, hash-verified

1405}
1406
1407pub(crate) fn encode_ts(ts: SystemTime) -> u64 {
1408 ts.duration_since(UNIX_EPOCH).unwrap_or_default().as_secs()
1409}
1410
1411pub struct RpcHandler {
1412 remote_app_id: Option<Vec<u8>>,

Callers 4

new_client_by_idMethod · 0.85
add_instanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected