Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions comport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ def detectServices(root: os.Path): Either[String, List[String]] = {

def fnv1a64(s: String): Long = {
var hash = 0xcbf29ce484222325L
for c <- s do hash ^= c.toLong
hash *= 0x100000001b3L
for c <- s do {
hash ^= c.toLong
hash *= 0x100000001b3L
}
hash
}

Expand Down
Loading