diff options
Diffstat (limited to 'unix.go')
| -rw-r--r-- | unix.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -221,6 +221,10 @@ func IsDirectory(path string) bool { } func (rs *RepoStatus) Exists(filename string) bool { + if rs == nil { + log.Warn("rs == nil for Exists()") + panic(-1) + } testf := filepath.Join(rs.Path(), filename) if Exists(testf) { return true |
