Crate sparse

Source

Modules§

builder
reader

Traits§

Reader
A union trait for Read and Seek.
Writer
A union trait for Write and Seek that also allows truncation.

Functions§

build_sparse_files
Takes the given file_to_upload for the named partition and creates a set of temporary files in the given dir in Sparse Image Format. With the provided max_download_size constraining file size.
is_sparse_image
Returns whether the image in reader appears to be in the sparse format.
unsparse
Reads a sparse image from source and expands it to its unsparsed representation in dest.