lib9p

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

commit 53741b97afe48ed34f444754b0bdf55c78ca8bef
parent 6b0f642ec2992f334e5d33bf334dfb88972181e2
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Wed, 17 Jan 2024 08:36:34 +0900

fix typo

Diffstat:
Mfs.go | 2+-
Mserver.go | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs.go b/fs.go @@ -44,7 +44,7 @@ type GroupFS interface { IsGroupMember(group, uid string) bool } -type CreaterFS interface { +type CreatorFS interface { FS // Create creates a file named name. // It sets the owner of newly created file to the specified uid, diff --git a/server.go b/server.go @@ -628,7 +628,7 @@ func sCreate(ctx context.Context, c *conn, rc <-chan *request) { fi fs.FileInfo dirfi fs.FileInfo err error - cfs CreaterFS + cfs CreatorFS cpath string perm FileMode dirperm FileMode @@ -656,7 +656,7 @@ func sCreate(ctx context.Context, c *conn, rc <-chan *request) { r.err = ErrPerm goto resp } - cfs, ok = r.fid.fs.(CreaterFS) + cfs, ok = r.fid.fs.(CreatorFS) if !ok { r.err = ErrOperation goto resp