lib9p

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

commit 1a3299df70e83e31896210af3cb685ce9f0c5c8c
parent 471e1c02cddcfeab56a6c6e1c02a51acc8d8c34f
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Sat,  4 Nov 2023 18:53:21 +0900

delete blank line

Diffstat:
Mtestfs/fs.go | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/testfs/fs.go b/testfs/fs.go @@ -63,7 +63,6 @@ func (f *TestFile) WriteAt(p []byte, off int64) (int, error) { if off < 0 || off > int64(len(f.Content)) { return 0, fmt.Errorf("bad offset") } - if off+int64(len(p)) > int64(len(f.Content)) { newcon := make([]byte, off+int64(len(p))) copy(newcon, f.Content)