vendor: Update github.com/zillode/notify

This commit is contained in:
Jakob Borg
2017-12-10 19:40:16 +01:00
parent ece1defb2f
commit 57eb1710e9
8 changed files with 88 additions and 45 deletions

View File

@@ -6,7 +6,6 @@ package notify
import (
"errors"
"fmt"
"io/ioutil"
"os"
"path/filepath"
@@ -71,7 +70,11 @@ Traverse:
case errSkip:
continue Traverse
default:
return fmt.Errorf("error while traversing %q: %v", nd.Name, err)
return &os.PathError{
Op: "error while traversing",
Path: nd.Name,
Err: err,
}
}
// TODO(rjeczalik): tolerate open failures - add failed names to
// AddDirError and notify users which names are not added to the tree.