Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ByteStorage/FlyDB
/ SDel
Method
SDel
structure/set.go:514–521 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
512
}
513
514
func
(s *SetStructure) SDel(key string) error {
515
byteKey := stringToBytesWithKey(key)
516
err := s.db.Delete(byteKey)
517
if
err != nil {
518
return
err
519
}
520
return
nil
521
}
Callers
1
TestSetStructure_SDel
Function · 0.80
Calls
2
stringToBytesWithKey
Function · 0.85
Delete
Method · 0.65
Tested by
1
TestSetStructure_SDel
Function · 0.64