Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/ksuid
/ withSequenceNumber
Function
withSequenceNumber
sequence.go:52–55 ·
view source on GitHub ↗
(id KSUID, n uint16)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
withSequenceNumber(id KSUID, n uint16) KSUID {
53
binary.BigEndian.PutUint16(id[len(id)-2:], n)
54
return
id
55
}
Callers
2
Next
Method · 0.85
Bounds
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…