mirror of
https://github.com/docker/compose.git
synced 2026-10-20 19:02:47 +00:00
test: enable unused check, remove dead code (#4208)
This commit is contained in:
parent
28251e8be5
commit
e62993a854
1 changed files with 0 additions and 10 deletions
|
|
@ -302,14 +302,4 @@ func newWatcher(paths []string, ignore PathMatcher, l logger.Logger) (*naiveNoti
|
|||
return wmw, nil
|
||||
}
|
||||
|
||||
func isDir(pth string) (bool, error) {
|
||||
fi, err := os.Lstat(pth)
|
||||
if os.IsNotExist(err) {
|
||||
return false, nil
|
||||
} else if err != nil {
|
||||
return false, err
|
||||
}
|
||||
return fi.IsDir(), nil
|
||||
}
|
||||
|
||||
var _ Notify = &naiveNotify{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue