mirror of
https://github.com/restic/restic.git
synced 2024-12-23 00:07:25 +00:00
Remove stray Printf from internal/fs
This commit is contained in:
parent
59b343a9bf
commit
95ebba85ff
1 changed files with 0 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
package fs
|
package fs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
@ -208,7 +207,6 @@ func (r *readerFile) Read(p []byte) (int, error) {
|
||||||
|
|
||||||
// return an error if we did not read any data
|
// return an error if we did not read any data
|
||||||
if err == io.EOF && !r.AllowEmptyFile && !r.bytesRead {
|
if err == io.EOF && !r.AllowEmptyFile && !r.bytesRead {
|
||||||
fmt.Printf("reader: %d bytes read, err %v, bytesRead %v, allowEmpty %v\n", n, err, r.bytesRead, r.AllowEmptyFile)
|
|
||||||
return n, &os.PathError{
|
return n, &os.PathError{
|
||||||
Path: r.fakeFile.name,
|
Path: r.fakeFile.name,
|
||||||
Op: "read",
|
Op: "read",
|
||||||
|
|
Loading…
Reference in a new issue