MCPcopy Create free account
hub / github.com/encodeous/nylon / withTimestamp

Function withTimestamp

e2e/distribution_test.go:342–345  ·  view source on GitHub ↗
(cfg state.CentralCfg, timestamp int64)

Source from the content-addressed store, hash-verified

340}
341
342func withTimestamp(cfg state.CentralCfg, timestamp int64) state.CentralCfg {
343 cfg.Timestamp = timestamp
344 return cfg
345}
346
347func assertCentralTimestampStays(t *testing.T, h *Harness, nodeId state.NodeId, expected int64) {
348 t.Helper()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected