Implement metadata, replacing source field and laying foundations

This commit is contained in:
Lucien Greathouse
2019-09-06 14:21:47 -07:00
parent a914a92cea
commit 5eb6754b7c
12 changed files with 176 additions and 33 deletions

View File

@@ -90,7 +90,7 @@ fn snapshot_lua_file<F: ImfsFetcher>(
Ok(Some(InstanceSnapshot {
snapshot_id: None,
source: None, // TODO
metadata: Default::default(), // TODO
name: Cow::Owned(instance_name.to_owned()),
class_name: Cow::Borrowed(class_name),
properties,