MCPcopy
hub / github.com/benbjohnson/litestream / String

Method String

v3.go:26–31  ·  view source on GitHub ↗

String returns a string representation of the position.

()

Source from the content-addressed store, hash-verified

24
25// String returns a string representation of the position.
26func (p PosV3) String() string {
27 if p.IsZero() {
28 return ""
29 }
30 return fmt.Sprintf("%s/%08x:%016x", p.Generation, p.Index, p.Offset)
31}
32
33// SnapshotInfoV3 contains metadata about a v0.3.x snapshot.
34type SnapshotInfoV3 struct {

Callers 15

keyMethod · 0.45
ParseReplicaURLWithQueryFunction · 0.45
runHydrationMethod · 0.45
FileControlMethod · 0.45
pollReplicaClientMethod · 0.45
GetVFSConnectionTXIDFunction · 0.45
CompactDBMethod · 0.45
TestStore_IntegrationFunction · 0.45
TestReplica_SyncFunction · 0.45
SyncMethod · 0.45

Calls 1

IsZeroMethod · 0.95

Tested by 15

keyMethod · 0.36
TestStore_IntegrationFunction · 0.36
TestReplica_SyncFunction · 0.36
TestPosV3_StringFunction · 0.36
ltxKeyFunction · 0.36
makeKeyMethod · 0.36
TestInitLog_AddSourceFunction · 0.36