Merge pull request #512 from IrishMaestro/revision

Typo fix
This commit is contained in:
Zack 2022-10-23 10:29:05 -07:00 committed by GitHub
commit 7f9688c7a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ func isEmptyFolder(folderPath string) (bool, error) {
// This function retrives the important file informations
// for every file that will be transferred
func GetFilesInfo(fnames []string, zipfolder bool) (filesInfo []FileInfo, emptyFolders []FileInfo, totalNumberFolders int, err error) {
// fnames: the relativ/absolute paths of files/folders that will be transferred
// fnames: the relative/absolute paths of files/folders that will be transferred
totalNumberFolders = 0
var paths []string
for _, fname := range fnames {