Mirror of https://github.com/cue-lang/cue cuelang.org
cue go
Something went wrong. Try again.
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>
Author Daniel Martí Date (Jan 29, 2026, 2:50 PM UTC) Commit 516099a6 516099a6aa8259da4d09b4e7540935052d2dbf5f Parent 9488f0c6 9488f0c633d35c1dda1aec7eeebec5160610ae10