Commit Graph

8 Commits

Author SHA1 Message Date
John Starich fc99a5d786 Add failing test for reading a small zip file 2020-06-25 23:25:49 -05:00
Jonas Plum 5fd16ea9f1
Fix zipfs.Readdir and zipfs.Readdirnames
If count == 0 all files should be returned as of https://golang.org/pkg/os/#File.Readdir
2020-04-14 22:36:17 +02:00
Michail Kargakis 90f4ffe95f
Gofmt the project 2020-04-10 23:59:22 +02:00
Hilko Bengen 344ad9d197 Don't hide errors while reading from ZIP files 2020-03-30 15:45:29 +02:00
Hilko Bengen 9b520d0821 Use filepath.Separator in test code, to fix tests on Windows 2020-03-30 14:44:04 +02:00
Hilko Bengen 72cabd552e Eliminate another root-path-related corner case 2020-03-30 14:44:04 +02:00
Hilko Bengen d5bfeca89b Work around root directory Open/Stat corner case leading to panic
See https://github.com/spf13/afero/pull/146#issuecomment-470840725
2020-03-30 14:44:04 +02:00
Hilko Bengen 4f00b06400 Add zipfs, an archive/zip-based read-only filesystem 2020-03-30 14:44:04 +02:00