MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / GetMergeFileID

Function GetMergeFileID

merge_utils.go:15–17  ·  view source on GitHub ↗
(seq int)

Source from the content-addressed store, hash-verified

13const MergeFileIDBase int64 = math.MinInt64
14
15func GetMergeFileID(seq int) int64 {
16 return MergeFileIDBase + int64(seq)
17}
18
19func IsMergeFile(fileID int64) bool {
20 return fileID < 0

Calls

no outgoing calls