]> xenbits.xensource.com Git - xcp/xen-api.git/commit
CA-43021: Small refactorings of the new sparse_dd code.
authorDavid Scott <dave.scott@eu.citrix.com>
Mon, 23 Aug 2010 12:16:49 +0000 (13:16 +0100)
committerDavid Scott <dave.scott@eu.citrix.com>
Mon, 23 Aug 2010 12:16:49 +0000 (13:16 +0100)
commit9dfd0c28c4698e8c62cceded80738cfcd7ff4e0f
tree47861583a3f6990ca731cc909eed5b1748d3a4b5
parent2a0e43f7aa8af9ac7d3df841a3185644cb662b53
CA-43021: Small refactorings of the new sparse_dd code.

Split the 'Stream' signature into two since we don't have to be reading and writing to the same kind of data.
Add a convenient 'substring' record type rather than passing around multiple arguments all the time.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
ocaml/xapi/sparse_dd.ml