mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 04:51:47 +00:00
Make SnapshotMiddleware::from_instance have a default impl
This commit is contained in:
parent
e46f9fd94f
commit
6d38a785ed
8 changed files with 14 additions and 53 deletions
|
|
@ -18,7 +18,9 @@ pub trait SnapshotMiddleware {
|
|||
entry: &ImfsEntry,
|
||||
) -> SnapshotInstanceResult<'static>;
|
||||
|
||||
fn from_instance(tree: &RbxTree, id: RbxId) -> SnapshotFileResult;
|
||||
fn from_instance(_tree: &RbxTree, _id: RbxId) -> SnapshotFileResult {
|
||||
None
|
||||
}
|
||||
|
||||
fn change_affects_paths(path: &Path) -> Vec<PathBuf> {
|
||||
vec![path.to_path_buf()]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue