Skip to content

Commit

Permalink
Merge pull request #32 from rbtr/fix/sense-bitmask
Browse files Browse the repository at this point in the history
fix sense bitmask
  • Loading branch information
jarondl committed Nov 1, 2019
2 parents fdc007d + 36742ba commit 13d8147
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sense.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (

type rpmSense uint32

// SenseAny specifies no specific version compare
// SenseLess specifies less then the specified version
// SenseGreater specifies greater then the specified version
// SenseEqual specifies equal to the specified version
// SenseAny (0) specifies no specific version compare
// SenseLess (2) specifies less then the specified version
// SenseGreater (4) specifies greater then the specified version
// SenseEqual (8) specifies equal to the specified version
const (
SenseAny rpmSense = 1 << iota >> 1
SenseLess
SenseAny rpmSense = 0
SenseLess = 1 << iota
SenseGreater
SenseEqual
)
Expand Down

0 comments on commit 13d8147

Please sign in to comment.