file.go | 4 ++-- diff --git a/file.go b/file.go index 94fb8185299b879132fb6ed27b4b509547f38b19..f57cd7af8a35b8491040fbd51e3e4fba88d611b1 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 }