//go:build !linux package web import ( "context" "gitea.dooplex.hu/admin/felhom-controller/internal/system" ) // runNetProbe is Linux-only (SysProcAttr.Credential). Off-linux (dev/test hosts) the seam must be // injected; reaching this stub is a wiring error, reported as a failed probe — never a false PASS. func runNetProbe(_ context.Context, _ string) probeOutcome { return probeOutcome{OK: false, Category: "probe_io", Detail: "uid-1000 probe unavailable on this platform"} } // platformNetProbeFSClass off-linux: the child never runs here in production (statfs f_type is a // linux concept); vacuously "network" so cross-platform child unit tests exercise the write/readback // logic — the fstype assertion itself is tested via the netProbeFSClass seam + linux-only real-IO. func platformNetProbeFSClass(_ string) string { return system.FSClassNetwork }