bread/graphify-out/cache/ast/v0.9.32/6403e3b358b52ef31183f3d7d37672dfba77401434fc1637069f0a65cc22f4d4.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
18 KiB
JSON

{"nodes": [{"id": "$graphify-root$_bread_module_host_src_io_rs", "label": "io.rs", "file_type": "code", "source_file": "bread-module-host/src/io.rs", "source_location": "L1"}, {"id": "$graphify-root$_bread_module_host_src_io_iocommand", "label": "IoCommand", "file_type": "code", "source_file": "bread-module-host/src/io.rs", "source_location": "L28"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}, {"id": "value", "label": "Value", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}, {"id": "sender", "label": "Sender", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}, {"id": "$graphify-root$_bread_module_host_src_io_hostmessage", "label": "HostMessage", "file_type": "code", "source_file": "bread-module-host/src/io.rs", "source_location": "L39"}, {"id": "modulehostpush", "label": "ModuleHostPush", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}, {"id": "$graphify-root$_bread_module_host_src_io_rpcresponse", "label": "RpcResponse", "file_type": "code", "source_file": "bread-module-host/src/io.rs", "source_location": "L45"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}, {"id": "$graphify-root$_bread_module_host_src_io_run", "label": "run()", "file_type": "code", "source_file": "bread-module-host/src/io.rs", "source_location": "L59"}, {"id": "pathbuf", "label": "PathBuf", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}, {"id": "receiver", "label": "Receiver", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}, {"id": "modulehosthello", "label": "ModuleHostHello", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}, {"id": "$graphify-root$_bread_module_host_src_io_call", "label": "call()", "file_type": "code", "source_file": "bread-module-host/src/io.rs", "source_location": "L249"}, {"id": "duration", "label": "Duration", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-module-host/src/io.rs"}], "edges": [{"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "hashmap", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L15", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "pathbuf", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L16", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "sync", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L17", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "duration", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L18", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "bread_shared", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L20", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "serde_json", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L21", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "io", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L22", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "unixstream", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L23", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "warn", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L24", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "$graphify-root$_bread_module_host_src_io_iocommand", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L28", "weight": 1.0}, {"source": "$graphify-root$_bread_module_host_src_io_iocommand", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L30", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_bread_module_host_src_io_iocommand", "target": "value", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L31", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_bread_module_host_src_io_iocommand", "target": "sender", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L32", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_bread_module_host_src_io_iocommand", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L32", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_iocommand", "target": "value", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L32", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_iocommand", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L32", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "$graphify-root$_bread_module_host_src_io_hostmessage", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L39", "weight": 1.0}, {"source": "$graphify-root$_bread_module_host_src_io_hostmessage", "target": "modulehostpush", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L40", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "$graphify-root$_bread_module_host_src_io_rpcresponse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L45", "weight": 1.0}, {"source": "$graphify-root$_bread_module_host_src_io_rpcresponse", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L47", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_bread_module_host_src_io_rpcresponse", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L49", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_bread_module_host_src_io_rpcresponse", "target": "value", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L49", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_rpcresponse", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L51", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_bread_module_host_src_io_rpcresponse", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L51", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "$graphify-root$_bread_module_host_src_io_run", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "pathbuf", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "receiver", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "$graphify-root$_bread_module_host_src_io_iocommand", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "sender", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "$graphify-root$_bread_module_host_src_io_hostmessage", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "sender", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "modulehosthello", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_run", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L59", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_rs", "target": "$graphify-root$_bread_module_host_src_io_call", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L249", "weight": 1.0}, {"source": "$graphify-root$_bread_module_host_src_io_call", "target": "sender", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L249", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_io_call", "target": "$graphify-root$_bread_module_host_src_io_iocommand", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L249", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_call", "target": "value", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L249", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_io_call", "target": "duration", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L249", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_module_host_src_io_call", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L249", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_bread_module_host_src_io_call", "target": "value", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L249", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_module_host_src_io_call", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-module-host/src/io.rs", "source_location": "L249", "weight": 1.0, "context": "generic_arg"}], "raw_calls": [{"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "enable_all", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L66"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "block_on", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L77"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "into_split", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L88"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "lines", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L89"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "is_err", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L100"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "write_all", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L100"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "as_bytes", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L101"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "next_line", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L109"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "and_then", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L133"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "is_err", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L143"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "is_err", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L157"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "is_err", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L183"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "write_all", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L183"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "as_bytes", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L184"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "next_line", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L197"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "trim", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L205"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "is_some", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L215"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "is_err", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L218"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "unwrap_or", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L228"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "abort", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L235"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_run", "callee": "drain", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L238"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_call", "callee": "map_err", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L256"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_call", "callee": "map_err", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L263"}, {"caller_nid": "$graphify-root$_bread_module_host_src_io_call", "callee": "recv_timeout", "is_member_call": true, "source_file": "bread-module-host/src/io.rs", "source_location": "L263"}]}