Mirror of https://github.com/cue-lang/cue cuelang.org
cue go

pkg/path: remove osInfo.HasPrefix master

We seem to have imported this deprecated API from Go back in 2020, when that was entirely unnecessary at the time. We don't have any tests nor documentation for it. The good news is that we never exported any of the OS types in Go, nor did we expose a HasPrefix func for CUE importers like we did with IsAbs and others. Hence, I assume this is an entirely backwards compatible change. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I2a23d4aa7d88678ae922d579b9f68a21c6d60f72 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1230077 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Matthew Sackman <matthew@cue.works> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>