Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/syncthing/syncthing
/ String
Method
String
lib/protocol/indexid.go:19–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
type
IndexID uint64
18
19
func
(i IndexID) String() string {
20
return
fmt.Sprintf(
"0x%016X"
, uint64(i))
21
}
22
23
func
(i IndexID) Marshal() ([]byte, error) {
24
bs := make([]byte, 8)
Callers
1
TestIndexIDString
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestIndexIDString
Function · 0.76