refactor(mtree): Clean up API surface
Before this commit, the functions called by the binary were at the top level of the library.
Those functions however are highly related to the cli
module and
executable logic. They should be hidden as well as possible for the
library consumer, as this isn't how they'll interact with this.
Furthermore, it introduces a new helper function to allow users parsing compressed mtree files.
Signed-off-by: Arne Beer contact@arne.beer