From: Matt Joiner Date: Tue, 19 Apr 2016 07:20:31 +0000 (+1000) Subject: Fix receiver pointeriness for some File methods X-Git-Tag: v1.0.0~772 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=93f914a6d3685681a698751b15817d8611c3fa24;p=btrtrc.git Fix receiver pointeriness for some File methods --- diff --git a/file.go b/file.go index 94fb8185..f57cd7af 100644 --- a/file.go +++ b/file.go @@ -24,11 +24,11 @@ func (f *File) Offset() int64 { return f.offset } -func (f *File) FileInfo() metainfo.FileInfo { +func (f File) FileInfo() metainfo.FileInfo { return f.fi } -func (f *File) Path() string { +func (f File) Path() string { return f.path }