-
- Downloads
extmod/vfs: Introduce a C-level VFS protocol, with fast import_stat.
Following other C-level protocols, this VFS protocol is added to help abstract away implementation details of the underlying VFS in an efficient way. As a starting point, the import_stat function is put into this protocol so that the VFS sub-system does not need to know about every VFS implementation in order to do an efficient stat for importing files. In the future it might be worth adding other functions to this protocol.
Showing
- extmod/vfs.c 4 additions, 13 deletionsextmod/vfs.c
- extmod/vfs.h 5 additions, 0 deletionsextmod/vfs.h
- extmod/vfs_fat.c 8 additions, 1 deletionextmod/vfs_fat.c
- extmod/vfs_fat.h 0 additions, 1 deletionextmod/vfs_fat.h
- extmod/vfs_posix.c 7 additions, 1 deletionextmod/vfs_posix.c
- extmod/vfs_posix.h 0 additions, 3 deletionsextmod/vfs_posix.h
Loading
Please register or sign in to comment