mirror of
https://github.com/restic/restic.git
synced 2026-11-20 04:26:54 +00:00
Remove io.Writer from fs.File
It was only used in a single test, which now uses plain *os.File instead.
This commit is contained in:
1 parent
9abef3bf1a
commit
1b20f6beec
4 files changed
+32
-41
No files matched your search
@@ -252,10 +252,6 @@ func (f fakeFile) Seek(int64, int) (int64, error) {
|
||||
return 0, os.ErrInvalid
|
||||
}
|
||||
|
||||
func (f fakeFile) Write(p []byte) (int, error) {
|
||||
return 0, os.ErrInvalid
|
||||
}
|
||||
|
||||
func (f fakeFile) Read(p []byte) (int, error) {
|
||||
return 0, os.ErrInvalid
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user