mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-12-01 23:57:21 +00:00
43 lines
914 B
JSON
43 lines
914 B
JSON
{
|
|
"language": "rust",
|
|
"description": "Rename a public module function through an explicit use alias, retaining the local alias and its call chain.",
|
|
"categories": ["cross-file", "call-graph", "import-alias", "shadowing"],
|
|
"target": {
|
|
"name": "compute",
|
|
"kind": "Function",
|
|
"file": "operations.rs"
|
|
},
|
|
"newName": "calculate",
|
|
"expect": {
|
|
"status": "success",
|
|
"edits": 2
|
|
},
|
|
"edges": [
|
|
{
|
|
"type": "CALLS",
|
|
"from": {
|
|
"name": "middle",
|
|
"kind": "Function",
|
|
"file": "lib.rs"
|
|
},
|
|
"to": {
|
|
"name": "compute",
|
|
"kind": "Function",
|
|
"file": "operations.rs"
|
|
}
|
|
},
|
|
{
|
|
"type": "CALLS",
|
|
"from": {
|
|
"name": "outer",
|
|
"kind": "Function",
|
|
"file": "lib.rs"
|
|
},
|
|
"to": {
|
|
"name": "middle",
|
|
"kind": "Function",
|
|
"file": "lib.rs"
|
|
}
|
|
}
|
|
]
|
|
}
|