Commit Graph

9 Commits

Author SHA1 Message Date
Benjamin Kalman f08056555a Add initial version of the new chunked Set implementation.
So far:
- It does not support Put. It can only be constructed with a SetBuilder,
  then queried e.g. Has.
- It only supports ref.Refs as values.
- I'm not convinced about the naming. Perhaps SetChunker rather than
  SetBuilder, FlatLevel rather that FlatSet, etc. I expect they will change.
- The test is fairly simplistic but there isn't much point testing this
  exhaustively, since once we support mutation, the testing abstraction
  will probably be with an Iterator.
2015-10-26 11:15:27 -07:00
Dan Willhite bb2f983446 Add IsEmpty() function on ref.Ref.
Fixes #337.
2015-10-21 12:07:34 -07:00
Dan Willhite ab34143ba5 Pin dependencies using godep tool. Rewrite dep urls. 2015-08-26 14:05:40 -07:00
Rafael Weinstein 0e7d61efc6 Remove errors from ChunkStore and Ref 2015-08-18 16:24:26 -07:00
Chris Masone 3a5397a609 Fix input path of sha1 package in ref_test.go
This was incorrectly set to go/pkg/src/crypto/sha1,
but should just be crypto/sha1
2015-07-07 11:06:21 -07:00
Aaron Boodman 369e2a1cda Add test for ref.FromHash 2015-07-01 23:08:47 -07:00
Aaron Boodman 302042e387 Add a test for Ref::Digest() 2015-07-01 23:02:14 -07:00
Aaron Boodman 47eb88b3dd Convert ref.Ref to a pure value type 2015-06-03 16:34:34 -07:00
Aaron Boodman 6a4fa364dd Add ref.go and test 2015-06-03 13:56:44 -07:00