Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewGetObjectReaderFromReader (0.1 sec)

  1. cmd/object-api-utils.go

    func (g *GetObjectReader) WithCleanupFuncs(fns ...func()) *GetObjectReader {
    	g.cleanUpFns = append(g.cleanUpFns, fns...)
    	return g
    }
    
    // NewGetObjectReaderFromReader sets up a GetObjectReader with a given
    // reader. This ignores any object properties.
    func NewGetObjectReaderFromReader(r io.Reader, oi ObjectInfo, opts ObjectOptions, cleanupFns ...func()) (*GetObjectReader, error) {
    	if opts.CheckPrecondFn != nil && opts.CheckPrecondFn(oi) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top