Add some missing error handling, fix a few typos

This commit is contained in:
Matthew Penner
2020-07-15 13:11:12 -06:00
parent b64f1897fb
commit f4c10e5a23
2 changed files with 11 additions and 8 deletions

View File

@@ -677,7 +677,7 @@ func (fs *Filesystem) GetIncludedFiles(dir string, ignored []string) (*backup.In
return inc, nil
}
// Compresses all of the files matching the given paths in the specififed directory. This function
// Compresses all of the files matching the given paths in the specified directory. This function
// also supports passing nested paths to only compress certain files and folders when working in
// a larger directory. This effectively creates a local backup, but rather than ignoring specific
// files and folders, it takes an allow-list of files and folders.