mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 18:13:42 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			256 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			256 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package io
 | 
						|
 | 
						|
import (
 | 
						|
	"io"
 | 
						|
)
 | 
						|
 | 
						|
// ReadSeekNopCloser wraps an io.ReadSeeker with an additional Close method
 | 
						|
// that does nothing.
 | 
						|
type ReadSeekNopCloser struct {
 | 
						|
	io.ReadSeeker
 | 
						|
}
 | 
						|
 | 
						|
// Close does nothing.
 | 
						|
func (ReadSeekNopCloser) Close() error {
 | 
						|
	return nil
 | 
						|
}
 |