github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/synchronization/hashing/xxh128_sspl.go (about)

     1  //go:build mutagensspl
     2  
     3  package hashing
     4  
     5  import (
     6  	"hash"
     7  
     8  	"github.com/mutagen-io/mutagen/sspl/pkg/hashing/xxh128"
     9  )
    10  
    11  // xxh128SupportStatus returns XXH128 hashing support status.
    12  func xxh128SupportStatus() AlgorithmSupportStatus {
    13  	return AlgorithmSupportStatusSupported
    14  }
    15  
    16  // newXXH128Factory creates a new hasher factory for XXH128 hashers.
    17  func newXXH128Factory() func() hash.Hash {
    18  	return xxh128.New
    19  }