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

Method UpdateMaxVersion

internal/iplibrary/ip_list_sqlite.go:282–289  ·  view source on GitHub ↗

UpdateMaxVersion 修改版本号

(version int64)

Source from the content-addressed store, hash-verified

280
281// UpdateMaxVersion 修改版本号
282func (this *SQLiteIPList) UpdateMaxVersion(version int64) error {
283 if this.isClosed {
284 return nil
285 }
286
287 _, err := this.updateVersionStmt.Exec(version)
288 return err
289}
290
291func (this *SQLiteIPList) Close() error {
292 this.isClosed = true

Callers 2

AddItemMethod · 0.95

Calls 1

ExecMethod · 0.45

Tested by 1