commit 61ee83eb6cdefa5d06ebf857bd2379cb88054464
parent 937b369fbcbee3c70e3cbe32e104d95cc338bc4c
Author: Matsuda Kenji <info@mtkn.jp>
Date: Mon, 6 Nov 2023 10:59:20 +0900
add TODO
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/semfs/fs.go b/cmd/semfs/fs.go
@@ -75,7 +75,7 @@ func (root *semFS) Create(name string, uid string, mode lib9p.OpenMode, perm lib
func (root *semFS) Read(p []byte) (n int, err error) {
return 0, errors.New("is a directory")
}
-
+// TODO: set diroffset.
func (root *semFS) ReadDir(n int) ([]fs.DirEntry, error) {
de := make([]fs.DirEntry, 0, len(root.semfiles))
for _, f := range root.semfiles {