MCPcopy Create free account
hub / github.com/base/base / parse_created_at

Method parse_created_at

etc/systems/src/benchmark_cli.rs:908–912  ·  view source on GitHub ↗
(run: &VisualizerRun)

Source from the content-addressed store, hash-verified

906 }
907
908 fn parse_created_at(run: &VisualizerRun) -> Result<DateTime<Utc>> {
909 DateTime::parse_from_rfc3339(&run.created_at)
910 .map(|timestamp| timestamp.with_timezone(&Utc))
911 .wrap_err_with(|| format!("run {} has invalid createdAt {:?}", run.id, run.created_at))
912 }
913
914 fn identity_key(run: &VisualizerRun) -> Result<String> {
915 serde_json::to_string(&run.test_config)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected