Assign contributing paths in simple cases for snapshots

This commit is contained in:
Lucien Greathouse
2019-10-03 17:34:33 -07:00
parent b2c515f2e6
commit ae0f3b0b02
7 changed files with 51 additions and 31 deletions

View File

@@ -43,7 +43,7 @@ impl SnapshotMiddleware for SnapshotRbxlx {
let mut snapshot = InstanceSnapshot::from_tree(&temp_tree, root_id);
snapshot.name = Cow::Owned(instance_name);
// TODO: Assign snapshot.source
snapshot.metadata.contributing_paths = vec![entry.path().to_path_buf()];
Ok(Some(snapshot))
}