Skip to content
Snippets Groups Projects
Commit e9be6a37 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

extmod/vfs_fat: Object-oriented encapsulation of FatFs VFS.

This implements OO interface based on existing fsusermount code and with
minimal changes to it, to serve as a proof of concept of OO interface.

Examle of usage:

bdev = RAMFS(48)
uos.VfsFat.mkfs(bdev)
vfs = uos.VfsFat(bdev, "/ramdisk")
f = vfs.open("foo", "w")
f.write("hello!")
f.close()
parent dc3eb55e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment