forked from rojo-rbx/rojo
Move instigating source out of contributing paths (#253)
* Refactor contributing_paths into contributing_sources, deleting project node sources * Instead of changing contributing_paths, add instigating_source * Remove InstanceMetadata::project_node * Stop pushing project path to front of contributing_paths since it doesn't matter now * Remove accidental UI change for path display
This commit is contained in:
committed by
GitHub
parent
2025b8a494
commit
052ca52cc3
@@ -63,7 +63,7 @@ impl SnapshotMiddleware for SnapshotProject {
|
||||
snapshot
|
||||
.metadata
|
||||
.contributing_paths
|
||||
.insert(0, entry.path().to_path_buf());
|
||||
.push(entry.path().to_path_buf());
|
||||
|
||||
Ok(Some(snapshot))
|
||||
}
|
||||
|
||||
@@ -6,8 +6,8 @@ snapshot_id: ~
|
||||
metadata:
|
||||
ignore_unknown_instances: true
|
||||
contributing_paths:
|
||||
- /foo/default.project.json
|
||||
- /foo/other.project.json
|
||||
- /foo/default.project.json
|
||||
name: path-property-override
|
||||
class_name: StringValue
|
||||
properties:
|
||||
|
||||
@@ -6,8 +6,8 @@ snapshot_id: ~
|
||||
metadata:
|
||||
ignore_unknown_instances: true
|
||||
contributing_paths:
|
||||
- /foo/default.project.json
|
||||
- /foo/other.project.json
|
||||
- /foo/default.project.json
|
||||
name: path-project
|
||||
class_name: Model
|
||||
properties: {}
|
||||
|
||||
@@ -6,8 +6,8 @@ snapshot_id: ~
|
||||
metadata:
|
||||
ignore_unknown_instances: true
|
||||
contributing_paths:
|
||||
- /foo/default.project.json
|
||||
- /foo/other.project.json
|
||||
- /foo/default.project.json
|
||||
name: path-child-project
|
||||
class_name: Folder
|
||||
properties: {}
|
||||
|
||||
@@ -6,8 +6,8 @@ snapshot_id: ~
|
||||
metadata:
|
||||
ignore_unknown_instances: false
|
||||
contributing_paths:
|
||||
- /foo/default.project.json
|
||||
- /foo/other.txt
|
||||
- /foo/default.project.json
|
||||
name: path-project
|
||||
class_name: StringValue
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user