mirror of
https://github.com/elliotnunn/machfs.git
synced 2024-11-22 04:31:37 +00:00
Library for reading and writing Macintosh HFS volumes
829d3a5189
This bug was corrupting all volumes over 32 MB (i.e. with a block size exceeding 512 bytes). Oops! |
||
---|---|---|
machfs | ||
LICENSE | ||
README.md | ||
setup.py | ||
test_all.py | ||
upload.sh |
machfs
is a pure Python 3 library for reading and writing disk images in the
Apple's long-deprecated Hierarchical File
System format. It
operates entirely on in-memory bytes
objects. Images are serialised and
deserialised in one go using the read
and write
methods of the Volume
object.
The directory hierarchy of a Volume
is then accessed and manipulated like a
Python dict
. Folder
and File
objects represent the contents of the
filesystem.