MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Contains

Method Contains

internal/utils/bfs/block_info.go:13–15  ·  view source on GitHub ↗
(offset int64)

Source from the content-addressed store, hash-verified

11}
12
13func (this BlockInfo) Contains(offset int64) bool {
14 return this.OriginOffsetFrom <= offset && this.OriginOffsetTo > /** MUST be gt, NOT gte **/ offset
15}

Callers 4

IsLocalIPFunction · 0.45
IsIPv4Function · 0.45
BlockAtMethod · 0.45
IsMinHourFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected