MCPcopy Create free account
hub / github.com/corestoreio/pkg / Compare

Method Compare

sql/ddl/replication.go:74–88  ·  view source on GitHub ↗

Compare compares with another MasterStatus. Returns 1 if left hand side is bigger, 0 if both are equal and -1 if right hand side is bigger.

(other MasterStatus)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

WaitUntilPosMethod · 0.80
TestMasterStatus_CompareFunction · 0.80
InMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestMasterStatus_CompareFunction · 0.64