mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Insulate VFS internals a little bit
This commit is contained in:
parent
78a1c658d8
commit
2df1dfa1cb
3 changed files with 19 additions and 7 deletions
|
|
@ -79,7 +79,7 @@ pub fn serve(project_path: &PathBuf, verbose: bool, port: Option<u64>) {
|
|||
}
|
||||
};
|
||||
|
||||
vfs.partitions.insert(name.clone(), path);
|
||||
vfs.insert_partition(name, path);
|
||||
}
|
||||
|
||||
Arc::new(Mutex::new(vfs))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue