1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-18 22:09:07 +00:00
trezor-firmware/core/mocks/generated/trezorio
matejcik fa746e2990 core/fatfs: rework low-level FatFS API
Instead of having possibly multiple FatFS objects, each with its own
`fs` struct, there is one global static fs_instance. This is to match
the mode of operation of ff.c, which assumes a global list of mounts,
and all functions operate on the global based on path.

Methods of FatFS were converted to functions on the fatfs module.

fatfs.unmount() does not call ff.c's unmount, but simply invalidates
fs_instance. This is basically what ff.c would do, except without
messing with ff.c's global list of mounts.
2020-02-26 14:18:41 +01:00
..
__init__.pyi core/fatfs: rework low-level FatFS API 2020-02-26 14:18:41 +01:00
fatfs.pyi core/fatfs: rework low-level FatFS API 2020-02-26 14:18:41 +01:00
sdcard.pyi