lib9p

Go 9P library.
Log | Files | Refs | LICENSE

commit 2d9142feb469878243bedcff010c1003415e0550
parent 9879fe3dfc4a63f90fb6ce85f76ada5a3db715b6
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Tue, 24 Oct 2023 17:04:57 +0900

delete unused func

Diffstat:
Mdiskfs/file.go | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/diskfs/file.go b/diskfs/file.go @@ -12,16 +12,13 @@ import ( "git.mtkn.jp/lib9p" ) +// File represents a file. type File struct { fs *FS // file system to which this file belongs path string // relative path from the root of the fs. file *os.File // underlying file. nil if not open. } -func (f *File) Fsys() lib9p.FS { - return f.fs -} - func (f *File) Stat() (*lib9p.FileInfo, error) { ospath := filepath.Join(f.fs.rootPath, f.path) fsfi, err := os.Stat(ospath)