Manage a volatile in-memory filesystem.
A filesystem that stored in memory.
Memory filesystems are useful for caches, temporary data stores, unit testing, etc. Since all the data is in memory, they are very fast, but non-permanent. The
MemoryFSconstructor takes no arguments.
>>> mem_fs = MemoryFS()
- Or via an FS URL:
>>> import fs >>> mem_fs = fs.open_fs('mem://')