79b3e129f5
This commit introduces a file-based iterator that can be used for storing package file content objects. For packages like kernel sources, the actual memory consumption caused by holding the whole metadata in memory was quite big and not really nice wrt memory constrained systems (ARM?). This commit handles most (retrieveContentSafety() is also a friend of malloc()) of the memory hogs activities.