MCPcopy 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
514func (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_SDelFunction · 0.80

Calls 2

stringToBytesWithKeyFunction · 0.85
DeleteMethod · 0.65

Tested by 1

TestSetStructure_SDelFunction · 0.64