|
@@ -65,7 +65,7 @@ func walkchunk(path string, fi os.FileInfo, dir string, root *FileInfo) error {
|
|
}
|
|
}
|
|
parent := root.LookUp(filepath.Dir(path))
|
|
parent := root.LookUp(filepath.Dir(path))
|
|
if parent == nil {
|
|
if parent == nil {
|
|
- return fmt.Errorf("collectFileInfoForChanges: Unexpectedly no parent for %s", path)
|
|
|
|
|
|
+ return fmt.Errorf("walkchunk: Unexpectedly no parent for %s", path)
|
|
}
|
|
}
|
|
info := &FileInfo{
|
|
info := &FileInfo{
|
|
name: filepath.Base(path),
|
|
name: filepath.Base(path),
|