This commit is contained in:
parent
b0fce047be
commit
c40c055465
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue