Commit Graph

10 Commits

Author SHA1 Message Date
Rafael Weinstein
8d56b8c968 Reland: ChunkSource.Get() now returns a []byte. chunks.Serialize takes a stream of Chunks 2015-09-17 12:31:25 -07:00
Rafael Weinstein
a62cf1bbb8 Revert "ChunkSouce.Get() now returns []byte"
This reverts commit 2be269acf4.
2015-09-16 20:47:36 -07:00
Rafael Weinstein
2be269acf4 ChunkSouce.Get() now returns []byte 2015-09-16 16:42:36 -07:00
Dan Willhite
ab34143ba5 Pin dependencies using godep tool. Rewrite dep urls. 2015-08-26 14:05:40 -07:00
Rafael Weinstein
0555d7a3c1 Remove errors from read/write/encode/decode 2015-08-18 16:37:04 -07:00
Rafael Weinstein
0e7d61efc6 Remove errors from ChunkStore and Ref 2015-08-18 16:24:26 -07:00
Chris Masone
df520db380 Use d.Try less granularly
We can still get useful error messages out of d.Try without
specifically wrapping every single thing that might throw a
noms UsageError, so do so. The code is cleaner.

Towards issue #176
2015-08-11 11:25:50 -07:00
Aaron Boodman
55b2b2a8cc Error handling example 2015-08-11 10:29:31 -07:00
Chris Masone
17fd75f01d Create d.Exp and d.Try
Introduces the notion of debug 'expectations', analogous to the
'checks' that we already have. d.Exp provides the same API as d.Chk,
but expectation violations can be caught using d.Try().

Toward issue #176
2015-08-10 12:40:43 -07:00
Aaron Boodman
214b37eccf Remove global imports of dbg package
Fixes #179
2015-08-08 23:57:37 -07:00