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

Function IsMergeFile

merge_utils.go:19–21  ·  view source on GitHub ↗
(fileID int64)

Source from the content-addressed store, hash-verified

17}
18
19func IsMergeFile(fileID int64) bool {
20 return fileID < 0
21}
22
23func GetMergeSeq(fileID int64) int {
24 return int(fileID - MergeFileIDBase)

Callers 4

TestMergeV2UtilsFunction · 0.85
recoverMergeManifestMethod · 0.85
getDataPathFunction · 0.85
getHintPathFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestMergeV2UtilsFunction · 0.68