This commit is contained in:
Liang Ding 2014-11-13 14:12:21 +08:00
parent b0fce047be
commit c40c055465
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ func renameFile(oldPath, newPath string) bool {
return true return true
} }
// find finds file under the specified dir and its sub-directoryies with the specified name, // find finds files under the specified dir and its sub-directoryies with the specified name,
// likes the command 'find dir -name name'. // likes the command 'find dir -name name'.
func find(dir, name string, results []*string) []*string { func find(dir, name string, results []*string) []*string {
if !strings.HasSuffix(dir, conf.PathSeparator) { if !strings.HasSuffix(dir, conf.PathSeparator) {