lib9p

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

commit eb6c4499cd33ac8cbb06bc8af2f1467259e13414
parent 4791cc41396f63809989b1836b48393c1d38d05e
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Thu,  9 Nov 2023 08:00:56 +0900

export ExportFS

Diffstat:
Mexport_fs.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/export_fs.go b/export_fs.go @@ -5,10 +5,10 @@ import ( ) // exportFS is a wrapper of FS to export it as fs.FS. -type exportFS struct { +type ExportFS struct { FS } -func (fsys exportFS) Open(name string) (fs.File, error) { +func (fsys ExportFS) Open(name string) (fs.File, error) { return fsys.OpenFile(name, OREAD, 0) } \ No newline at end of file