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

Function ltxKey

vfs_write_test.go:112–114  ·  view source on GitHub ↗
(level int, minTXID, maxTXID ltx.TXID)

Source from the content-addressed store, hash-verified

110}
111
112func ltxKey(level int, minTXID, maxTXID ltx.TXID) string {
113 return string(rune(level)) + "/" + minTXID.String() + "-" + maxTXID.String()
114}
115
116// writeTestFileIterator implements ltx.FileIterator for testing.
117type writeTestFileIterator struct {

Callers 3

OpenLTXFileMethod · 0.85
WriteLTXFileMethod · 0.85
createTestLTXFileFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected