More tests, better errors.

This commit is contained in:
jregan
2019-11-26 18:13:15 -08:00
parent a2b84fce86
commit f3e735153f
22 changed files with 112 additions and 59 deletions

View File

@@ -27,7 +27,7 @@ func (fi fileInfo) Mode() os.FileMode { return 0777 }
// ModTime returns a bogus time
func (fi fileInfo) ModTime() time.Time { return time.Time{} }
// IsADir returns if it is a directory
// IsDir returns true if it is a directory
func (fi fileInfo) IsDir() bool { return fi.dir }
// Sys should return underlying data source, but it now returns nil