bread/graphify-out/cache/ast/v0.9.32/61c94042b0440eb51fae9337b86c3a38f741357613176c314bde0d5a75a69679.json
Breadway d3517d1433 Allow well-formed bread.command events on the emit bus
Docs already said any module or app could publish bread.command.<app>.<verb>,
but command is reserved so both unsourced bread-emit and sourced App emit
rejected the whole namespace. Keep command unclaimable as an app id; accept
bread.command.<known-app>.<verb> (and let an app command another known app).
Also ship bread-emit and bread-module-host, and give udev enumerate the same
classification fields as a live add so boot-time devices are not all unknown.
2026-08-15 21:41:40 +08:00

1 line
No EOL
6.4 KiB
JSON

{"nodes": [{"id": "$graphify-root$_bread_module_host_src_main_rs", "label": "main.rs", "file_type": "code", "source_file": "bread-module-host/src/main.rs", "source_location": "L1"}, {"id": "$graphify-root$_bread_module_host_src_main_main", "label": "main()", "file_type": "code", "source_file": "bread-module-host/src/main.rs", "source_location": "L48"}, {"id": "$graphify-root$_bread_module_host_src_main_report_status", "label": "report_status()", "file_type": "code", "source_file": "bread-module-host/src/main.rs", "source_location": "L157"}, {"id": "sender", "label": "Sender", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/main.rs"}, {"id": "iocommand", "label": "IoCommand", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/main.rs"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/main.rs"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/main.rs"}], "edges": [{"source": "$graphify-root$_bread_module_host_src_main_rs", "target": "pathbuf", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L38", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_main_rs", "target": "mpsc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L39", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_main_rs", "target": "duration", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L40", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_main_rs", "target": "bread_shared", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L42", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_main_rs", "target": "tracing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L43", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_main_rs", "target": "io", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L45", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_main_rs", "target": "modulehostlua", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L46", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_main_rs", "target": "$graphify-root$_bread_module_host_src_main_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L48", "weight": 1.0}, {"source": "$graphify-root$_bread_module_host_src_main_rs", "target": "$graphify-root$_bread_module_host_src_main_report_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L157", "weight": 1.0}, {"source": "$graphify-root$_bread_module_host_src_main_report_status", "target": "sender", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L157", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_main_report_status", "target": "iocommand", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L157", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_main_report_status", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L157", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_main_report_status", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L157", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_main_main", "target": "$graphify-root$_bread_module_host_src_main_report_status", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/main.rs", "source_location": "L117", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_bread_module_host_src_main_main", "callee": "with_env_filter", "is_member_call": true, "source_file": "bread-module-host/src/main.rs", "source_location": "L49"}, {"caller_nid": "$graphify-root$_bread_module_host_src_main_main", "callee": "unwrap_or_else", "is_member_call": true, "source_file": "bread-module-host/src/main.rs", "source_location": "L53"}, {"caller_nid": "$graphify-root$_bread_module_host_src_main_main", "callee": "is_err", "is_member_call": true, "source_file": "bread-module-host/src/main.rs", "source_location": "L85"}, {"caller_nid": "$graphify-root$_bread_module_host_src_main_main", "callee": "spawn", "is_member_call": true, "source_file": "bread-module-host/src/main.rs", "source_location": "L85"}, {"caller_nid": "$graphify-root$_bread_module_host_src_main_main", "callee": "name", "is_member_call": true, "source_file": "bread-module-host/src/main.rs", "source_location": "L85"}, {"caller_nid": "$graphify-root$_bread_module_host_src_main_main", "callee": "recv_timeout", "is_member_call": true, "source_file": "bread-module-host/src/main.rs", "source_location": "L94"}, {"caller_nid": "$graphify-root$_bread_module_host_src_main_main", "callee": "load_entry", "is_member_call": true, "source_file": "bread-module-host/src/main.rs", "source_location": "L122"}, {"caller_nid": "$graphify-root$_bread_module_host_src_main_main", "callee": "dispatch_event", "is_member_call": true, "source_file": "bread-module-host/src/main.rs", "source_location": "L144"}, {"caller_nid": "$graphify-root$_bread_module_host_src_main_main", "callee": "dispatch_timer", "is_member_call": true, "source_file": "bread-module-host/src/main.rs", "source_location": "L147"}]}