Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/copernet/copernicus
/ IsEqual
Method
IsEqual
model/script/script.go:740–742 ·
view source on GitHub ↗
(script2 *Script)
Source
from the content-addressed store, hash-verified
738
}
739
740
func
(s *Script) IsEqual(script2 *Script) bool {
741
return
bytes.Equal(s.data, script2.data)
742
}
743
744
/*
745
func
(s *Script) FindAndDelete(b *Script) int {
Callers
1
TestScript_SerializeUnSerialize
Function · 0.45
Calls
1
Equal
Method · 0.45
Tested by
1
TestScript_SerializeUnSerialize
Function · 0.36