remotefs-memory

September 12, 2026 ยท View on GitHub

logo

~ A remotefs implementation for testing and simulation ~

Developed by @veeso

Current version: 0.1.6

License-MIT Repo stars Downloads counter Latest version Ko-fi

CI Docs


Getting Started

Add remotefs-memory to your Cargo.toml:

remotefs = "0.3"
remotefs-memory = "0.1"

Example

use std::path::PathBuf;

use remotefs_memory::{Inode, MemoryFs, node, Node, Tree};
use remotefs::RemoteFs;
use remotefs::fs::{UnixPex, Metadata};

let tempdir = PathBuf::from("/tmp");
let tree = Tree::new(node!(
    PathBuf::from("/"),
    Inode::dir(0, 0, UnixPex::from(0o755)),
    node!(tempdir.clone(), Inode::dir(0, 0, UnixPex::from(0o755)))
));
let mut client = MemoryFs::new(tree);
assert!(client.connect().is_ok());
// Change directory
assert!(client.change_dir(tempdir.as_path()).is_ok());

Contributing ๐Ÿค

Contributions, bug reports, new features, and questions are welcome! ๐Ÿ˜‰ If you have any questions or concerns, or you want to suggest a new feature, or you want just want to improve remotefs, feel free to open an issue or a PR.

Please read the AI policy before opening a pull request.


Changelog โณ

View remotefs` changelog HERE


License ๐Ÿ“ƒ

remotefs is licensed under the MIT license.

You can read the entire license HERE