commit | 1e17b313a6257b7b5081e178e81435c09d60378e | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon May 21 16:35:45 2012 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Jul 09 22:09:37 2012 -0700 |
tree | aea5379ca96c99ec14f1c5c8dc202b7b5b36ca47 | |
parent | b4cd267db30c152245e6308598e0066d87c5c55d [diff] |
libsparse: add callback output file type Add a new output file subclass that will call a callback for each block as it is written. Will be used to measure the space used by each sparse block to allow resparsing files. Also add sparse_file_callback, which will write out a sparse file by calling the provided write function. Change-Id: I18707bd9c357b68da319cc07982e93d1c2b2bee2