rojo/memofs
2020-06-22 14:14:42 -07:00
..
src Move from rojo-rbx org to Roblox org 2020-06-22 14:14:42 -07:00
Cargo.toml Move from rojo-rbx org to Roblox org 2020-06-22 14:14:42 -07:00
CHANGELOG.md Allow turning off file watching in memofs. 2020-06-17 14:06:44 -07:00
LICENSE.txt Rename vfs -> memofs across the codebase 2020-03-10 18:05:31 -07:00
README.md Move from rojo-rbx org to Roblox org 2020-06-22 14:14:42 -07:00
README.tpl Rename vfs -> memofs across the codebase 2020-03-10 18:05:31 -07:00

memofs

Crates.io

Implementation of a virtual filesystem with a configurable backend and file watching.

memofs is currently an unstable minimum viable library. Its primary consumer is Rojo, a build system for Roblox.

Current Features

  • API similar to std::fs
  • Configurable backends
    • StdBackend, which uses std::fs and the notify crate
    • NoopBackend, which always throws errors
    • InMemoryFs, a simple in-memory filesystem useful for testing

Future Features

  • Hash-based hierarchical memoization keys (hence the name)
  • Configurable caching (write-through, write-around, write-back)

License

memofs is available under the terms of the MIT license. See LICENSE.txt or https://opensource.org/licenses/MIT for more details.