mirror of
https://github.com/docker/cli.git
synced 2026-11-06 13:10:41 -04:00
full diff: https://github.com/Azure/go-ansiterm/compare/faa5f7b0171c...e937bb47801ae0fd8fb8ff02743f6a93e2b51982 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
12 lines
146 B
Go
12 lines
146 B
Go
package ansiterm
|
|
|
|
func sliceContains(bytes []byte, b byte) bool {
|
|
for _, v := range bytes {
|
|
if v == b {
|
|
return true
|
|
}
|
|
}
|
|
|
|
return false
|
|
}
|