mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Switch SnapshotMiddleware over to SnapshotError
This commit is contained in:
parent
a14aacbcf9
commit
28156bcaf2
4 changed files with 8 additions and 4 deletions
|
|
@ -3,11 +3,13 @@ use std::path::{Path, PathBuf};
|
|||
use rbx_dom_weak::{RbxId, RbxTree};
|
||||
|
||||
use crate::{
|
||||
imfs::{FsResult, Imfs, ImfsEntry, ImfsFetcher, ImfsSnapshot},
|
||||
imfs::{Imfs, ImfsEntry, ImfsFetcher, ImfsSnapshot},
|
||||
snapshot::InstanceSnapshot,
|
||||
};
|
||||
|
||||
pub type SnapshotInstanceResult<'a> = FsResult<Option<InstanceSnapshot<'a>>>;
|
||||
use super::error::SnapshotError;
|
||||
|
||||
pub type SnapshotInstanceResult<'a> = Result<Option<InstanceSnapshot<'a>>, SnapshotError>;
|
||||
pub type SnapshotFileResult = Option<(String, ImfsSnapshot)>;
|
||||
|
||||
pub trait SnapshotMiddleware {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue