<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/vfs.c, branch 2.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-06-27T22:17:30+00:00</updated>
<entry>
<title>Split uos module into os and storage.</title>
<updated>2017-06-27T22:17:30+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-06-27T22:17:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=778e975936b9e892c4f1b85ce73462a0ce6d36d2'/>
<id>urn:sha1:778e975936b9e892c4f1b85ce73462a0ce6d36d2</id>
<content type='text'>
os is a subset of CPython's os. storage contains additional
file system mounting functionality based on UNIX's mount
management.

Fixes #140
</content>
</entry>
<entry>
<title>extmod/vfs: Allow "buffering" and "encoding" args to VFS's open().</title>
<updated>2017-06-07T05:29:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-07T05:29:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ecfbb8267c050ba5bd5bdf7becfb055f53a4f80'/>
<id>urn:sha1:7ecfbb8267c050ba5bd5bdf7becfb055f53a4f80</id>
<content type='text'>
These args are currently ignored but are parsed to make it easier to
write portable scripts between CPython and MicroPython.
</content>
</entry>
<entry>
<title>extmod/vfs: Allow to statvfs the root directory.</title>
<updated>2017-06-07T05:17:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-07T05:17:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f6ef8e3f17222a397e02f93a8b0d283e0f6c9793'/>
<id>urn:sha1:f6ef8e3f17222a397e02f93a8b0d283e0f6c9793</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/vfs: Use MP_S_IFDIR, MP_S_IFREG consts instead of magic numbers.</title>
<updated>2017-05-10T02:30:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-05-10T02:30:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d70f688f25a76e1e6a251a4ffc5144539c1a4e64'/>
<id>urn:sha1:d70f688f25a76e1e6a251a4ffc5144539c1a4e64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/vfs: Implement mp_vfs_ilistdir().</title>
<updated>2017-05-10T01:39:28+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-05-05T13:31:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=87283c1974188707b436eebf2a04d4555a26dcca'/>
<id>urn:sha1:87283c1974188707b436eebf2a04d4555a26dcca</id>
<content type='text'>
uos.ilistdir() is the core function, returning an iterator that yields
3-tuples.  uos.listdir() is implemented in terms of ilistdir().
</content>
</entry>
<entry>
<title>extmod/vfs: Allow a VFS to be mounted at the root dir.</title>
<updated>2017-05-05T10:15:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-10T06:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c9a3a68a493426826841b4c0e22f8d688a12ad03'/>
<id>urn:sha1:c9a3a68a493426826841b4c0e22f8d688a12ad03</id>
<content type='text'>
This patch allows mounting of VFS objects right at the root directory, eg
os.mount(vfs, '/').  It still allows VFS's to be mounted at a path within
the root, eg os.mount(vfs, '/flash'), and such mount points will override
any paths within a VFS that is mounted at the root.
</content>
</entry>
<entry>
<title>extmod: Update for changes to mp_obj_str_get_data.</title>
<updated>2017-03-29T01:56:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-25T08:48:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=204ded848e114208b8ecef0b683df71b77af5b5a'/>
<id>urn:sha1:204ded848e114208b8ecef0b683df71b77af5b5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/vfs: Rewrite path lookup algo to support relative paths from root.</title>
<updated>2017-03-13T10:37:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-13T10:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0a3ac07ec79acf580ccf3c6188f25cde2f77bbe5'/>
<id>urn:sha1:0a3ac07ec79acf580ccf3c6188f25cde2f77bbe5</id>
<content type='text'>
For example, if the current directory is the root dir then this patch
allows one to do uos.listdir('mnt'), where 'mnt' is a valid mount point.
Previous to this patch such a thing would not work, on needed to do
uos.listdir('/mnt') instead.
</content>
</entry>
<entry>
<title>extmod/vfs: Allow to stat the root directory.</title>
<updated>2017-02-13T01:25:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-13T01:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3625afa17362e8a2f873edeaa0856ae852c19beb'/>
<id>urn:sha1:3625afa17362e8a2f873edeaa0856ae852c19beb</id>
<content type='text'>
os.stat('/') now works and returns a mostly-empty tuple.  Really all that
is useful is the mode which tells that it's a directory.
</content>
</entry>
<entry>
<title>extmod/vfs: Raise OSError(EEXIST) on attempt to mkdir a mount point.</title>
<updated>2017-02-09T04:51:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-09T04:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8f1c6d952ac695bc41afe8965aa79fbabcc6bcc1'/>
<id>urn:sha1:8f1c6d952ac695bc41afe8965aa79fbabcc6bcc1</id>
<content type='text'>
</content>
</entry>
</feed>
