2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-19 11:35:14 +00:00

Merge pull request #205 from ceh/backend-doc-typos

backend: fix doc typos
This commit is contained in:
Alexander Neumann 2015-06-28 11:54:36 +02:00
commit c410cd5584
3 changed files with 3 additions and 3 deletions

View File

@ -240,7 +240,7 @@ func (b *Local) Remove(t backend.Type, name string) error {
}
// List returns a channel that yields all names of blobs of type t. A
// goroutine ist started for this. If the channel done is closed, sending
// goroutine is started for this. If the channel done is closed, sending
// stops.
func (b *Local) List(t backend.Type, done <-chan struct{}) <-chan string {
// TODO: use os.Open() and d.Readdirnames() instead of Glob()

View File

@ -41,7 +41,7 @@ func OpenS3Bucket(bucket *s3.Bucket, bucketname string) *S3Backend {
return &S3Backend{bucket: bucket, path: bucketname, connChan: connChan}
}
// Open opens the s3 backend at bucket and region.
// Open opens the S3 backend at bucket and region.
func Open(regionname, bucketname string) (backend.Backend, error) {
auth, err := aws.EnvAuth()
if err != nil {

View File

@ -372,7 +372,7 @@ func (r *SFTP) Remove(t backend.Type, name string) error {
}
// List returns a channel that yields all names of blobs of type t. A
// goroutine ist started for this. If the channel done is closed, sending
// goroutine is started for this. If the channel done is closed, sending
// stops.
func (r *SFTP) List(t backend.Type, done <-chan struct{}) <-chan string {
ch := make(chan string)