1
0
Fork 0
forked from mirrors/tar-split

*: clean up assorted spelling/grammar issues

Various minor fixes noticed on walking through
This commit is contained in:
Jonathan Boulle 2015-06-23 13:13:29 -07:00 committed by Vincent Batts
parent e0e9886972
commit 002d19f0b0
6 changed files with 15 additions and 15 deletions

View file

@ -10,9 +10,9 @@ import (
"path/filepath"
)
// FileGetter is the interface for getting a stream of a file payload, address
// by name/filename. Presumably, the names will be scoped to relative file
// paths.
// FileGetter is the interface for getting a stream of a file payload,
// addressed by name/filename. Presumably, the names will be scoped to relative
// file paths.
type FileGetter interface {
// Get returns a stream for the provided file path
Get(filename string) (output io.ReadCloser, err error)
@ -77,7 +77,7 @@ type readCloserWrapper struct {
func (w *readCloserWrapper) Close() error { return nil }
// NewBufferFileGetPutter is simple in memory FileGetPutter
// NewBufferFileGetPutter is a simple in-memory FileGetPutter
//
// Implication is this is memory intensive...
// Probably best for testing or light weight cases.