RestoreGraphSchema.clear: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend as RestoreGraphSchema Lines 15-17 of bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend&start_line=15&end_line=17 import Base import bendvy-ecs-core@0.1.0.4/restore_data.bend as R import bendvy-ecs-core@0.1.0.4/relation_commands.bend as Relation import bendvy-ecs-core@0.1.0.4/world.bend as W def clear(~S:Data,~C:Type,~clearBase:C -> W.Handle -> C & List<&2,R.Change>,store:Relation.Store,handle:W.Handle) -> Relation.Store & List<&2,R.Change>: match store: case Relation.Store{components,graph}:cleared(~S,~C,graph,clearBase(components,handle)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Store https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_data.bend&name=Change https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend&name=cleared https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle