1.0.0
Added
- Static
new
method forFATDirectoryEntry
PR #17 <https://github.com/nathanhi/pyfatfs/pull/17>
:mkfs
method by@wackinger <https://github.com/wackinger>
/@Draegerwerk <https://github.com/Draegerwerk>
_FATHeader
class replaced byBootSectorHeader
- Initial support of
FSInfo
formkfs
- Expose
PyFat.set_fp
function to allow using BytesIO / in-memory files. ProvidePyFatBytesIOFS
class for PyFilesystem2
Fixed
- Remove duplicated code
- Properly handle non-ASCII short file names / 8DOT3
- Mark dir/file entries as empty on deletion
- Do not allow creating files when a folder with the same name already exists
- Do not allow creating folders when a file with the same name already exists
Changed
- In order to fix non-ASCII short file names,
FATDirectoryEntry.name
is now ofEightDotThree
type instead ofbytes
Removed
- Legacy
byte_repr()
function,__bytes__()
is to be used instead
as a drop-in replacement to serialize FAT and dentry data for writing to
disk