A virtual jailed shell environment for Go apps backed by an io/fs#FS.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(billyfs): silence stdmethods warning on Seek

The Seek method on billyFile must return expsys.Errno to satisfy
wazero's experimental/sys.File interface, but Errno implements error,
which trips go vet's stdmethods near-miss check for io.Seeker. Add
//nolint:stdmethods (honored by golangci-lint) and a short comment so
future readers don't try to "fix" the signature and break the
interface.

Assisted-by: Claude Opus 4.7 via Claude Code
Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso d42e700c fcdeacbc

+4
+4
wasm/billyfs/billyfs.go
··· 125 125 return n, 0 126 126 } 127 127 128 + // Seek satisfies expsys.File.Seek; the Errno return is required by wazero 129 + // even though it implements error, which trips go vet's stdmethods check. 130 + // 131 + //nolint:stdmethods 128 132 func (f *billyFile) Seek(offset int64, whence int) (int64, expsys.Errno) { 129 133 n, err := f.file.Seek(offset, whence) 130 134 if err != nil {