johnandersen777.bsky.social/socialweb-computer-console
console.socialweb.computer: kcp, kubectl and ssh compiled to wasm in a browser tab with a terminal; a kcp fork
0
0
//go:build js
package hostos
import "os"
// js/wasm has no flock. The browser process owns the only descriptor, so the
// lock is a no-op.
const (
LockShared = 1
LockExclusive = 2
LockNonBlocking = 4
)
func Lock(*os.File, int) error { return nil }
func Unlock(*os.File) error { return nil }