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

Function GetObjectInfoShowDeleted

object.go:930–935  ·  view source on GitHub ↗

GetObjectInfoShowDeleted makes GetInfo() return object if it was marked as deleted.

()

Source from the content-addressed store, hash-verified

928
929// GetObjectInfoShowDeleted makes GetInfo() return object if it was marked as deleted.
930func GetObjectInfoShowDeleted() GetObjectInfoOpt {
931 return getObjectInfoFn(func(opts *getObjectInfoOpts) error {
932 opts.showDeleted = true
933 return nil
934 })
935}
936
937// For nats.Context() support.
938func (ctx ContextOpt) configureGetInfo(opts *getObjectInfoOpts) error {

Callers 6

PutMethod · 0.70
GetMethod · 0.70
DeleteMethod · 0.70
AddLinkMethod · 0.70
AddBucketLinkMethod · 0.70
UpdateMetaMethod · 0.70

Calls 1

getObjectInfoFnFuncType · 0.85

Tested by

no test coverage detected