mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 14:15:24 +00:00
Rough pass on transforming applied patches into API responses
This commit is contained in:
@@ -99,6 +99,10 @@ impl<F: ImfsFetcher + Send + 'static> ServeSession<F> {
|
||||
}
|
||||
|
||||
impl<F: ImfsFetcher> ServeSession<F> {
|
||||
pub fn tree_handle(&self) -> Arc<Mutex<RojoTree>> {
|
||||
Arc::clone(&self.tree)
|
||||
}
|
||||
|
||||
pub fn tree(&self) -> MutexGuard<'_, RojoTree> {
|
||||
self.tree.lock().unwrap()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user