mirror of
				https://github.com/restic/restic.git
				synced 2025-11-04 07:11:01 +00:00 
			
		
		
		
	drop unused repository.Loader interface
This commit is contained in:
		
							parent
							
								
									2cd7e90ad1
								
							
						
					
					
						commit
						ec7c9ce88b
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -871,11 +871,6 @@ func (r *Repository) SaveTree(ctx context.Context, t *restic.Tree) (restic.ID, e
 | 
			
		|||
	return id, err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Loader allows loading data from a backend.
 | 
			
		||||
type Loader interface {
 | 
			
		||||
	Load(ctx context.Context, h restic.Handle, length int, offset int64, fn func(rd io.Reader) error) error
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type BackendLoadFn func(ctx context.Context, h restic.Handle, length int, offset int64, fn func(rd io.Reader) error) error
 | 
			
		||||
 | 
			
		||||
// StreamPack loads the listed blobs from the specified pack file. The plaintext blob is passed to
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue