Commit Graph

11 Commits

Author SHA1 Message Date
Dmytro Manchynskyi 0ec4cd15a0 Fix #317 2022-05-27 16:39:53 +03:00
Mike Futerko cb1d580bf4 Fix Chown() pull request errors 2020-12-07 15:19:45 +02:00
John Starich e76d1f3bb5 Fix panic when not filling up zipfs's read buffer 2020-06-25 23:27:17 -05:00
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