doc: fix typos throughout docs and code

This commit is contained in:
Martin Michlmayr
2020-05-25 14:05:53 +08:00
committed by Nick Craig-Wood
parent 9db8ecbc32
commit 041b201abd
39 changed files with 51 additions and 51 deletions

View File

@@ -76,7 +76,7 @@ func ShowVersion() {
fmt.Printf("- go version: %s\n", runtime.Version())
}
// NewFsFile creates a Fs from a name but may point to a file.
// NewFsFile creates an Fs from a name but may point to a file.
//
// It returns a string with the file name if points to a file
// otherwise "".
@@ -99,7 +99,7 @@ func NewFsFile(remote string) (fs.Fs, string) {
return nil, ""
}
// newFsFileAddFilter creates a src Fs from a name
// newFsFileAddFilter creates an src Fs from a name
//
// This works the same as NewFsFile however it adds filters to the Fs
// to limit it to a single file if the remote pointed to a file.