mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
vfs: Expand documentation
This commit is contained in:
parent
1b24cd36e0
commit
fefc7a69cd
2 changed files with 135 additions and 19 deletions
|
|
@ -4,9 +4,9 @@ use std::path::{Path, PathBuf};
|
|||
|
||||
use crate::{Metadata, ReadDir, VfsBackend, VfsEvent, VfsSnapshot};
|
||||
|
||||
/// `VfsBackend` that reads from an in-memory filesystem.
|
||||
/// `VfsBackend` that reads from an in-memory filesystem, intended for setting
|
||||
/// up testing scenarios quickly.
|
||||
#[derive(Debug)]
|
||||
#[non_exhaustive]
|
||||
pub struct MemoryBackend {
|
||||
entries: HashMap<PathBuf, Entry>,
|
||||
orphans: BTreeSet<PathBuf>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue