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