示例#1
0
文件: shard.go 项目: ipeet/camlistore
func (sto *shardStorage) shardNum(b *blobref.BlobRef) uint32 {
	return b.Sum32() % uint32(len(sto.shards))
}