Files
dolt/chunks
Chris Masone 119a56c3a9 Move ReadValue and WriteValue to DataStore
This patch is the first step in moving all reading and writing to the
DataStore API, so that we can validate data commited to Noms.

The big change here is that types.ReadValue() no longer exists and is
replaced with a ReadValue() method on DataStore. A similar
WriteValue() method deprecates types.WriteValue(), but fully removing
that is left for a later patch. Since a lot of code in the types
package needs to read and write values, but cannot import the datas
package without creating an import cycle, the types package exports
ValueReader and ValueWriter interfaces, which DataStore implements.
Thus, a DataStore can be passed to anything in the types package which
needs to read or write values (e.g. a collection constructor or
typed-ref)

Relatedly, this patch also introduces the DataSink interface, so that
some public-facing apis no longer need to provide a ChunkSink.

Towards #654
2016-03-17 12:57:44 -07:00
..
2016-02-08 23:15:09 -08:00
2016-02-08 23:15:09 -08:00
2015-10-23 13:28:29 -07:00
2016-03-10 15:42:37 -08:00
2016-02-08 23:15:09 -08:00
2016-02-08 23:15:09 -08:00
2016-02-08 23:15:09 -08:00
2016-03-10 15:42:37 -08:00
2016-02-08 23:15:09 -08:00
2016-02-08 23:15:09 -08:00
2016-01-14 12:19:14 -08:00