MCPcopy
hub / github.com/nats-io/nats.go / DeleteObjectStore

Method DeleteObjectStore

object.go:321–324  ·  view source on GitHub ↗

DeleteObjectStore will delete the underlying stream for the named object.

(bucket string)

Source from the content-addressed store, hash-verified

319
320// DeleteObjectStore will delete the underlying stream for the named object.
321func (js *js) DeleteObjectStore(bucket string) error {
322 stream := fmt.Sprintf(objNameTmpl, bucket)
323 return js.DeleteStream(stream)
324}
325
326func encodeName(name string) string {
327 return base64.URLEncoding.EncodeToString([]byte(name))

Callers

nothing calls this directly

Calls 1

DeleteStreamMethod · 0.95

Tested by

no test coverage detected