MCPcopy Create free account
hub / github.com/FuelLabs/sway-vscode-plugin / getTreeItem

Method getTreeItem

client/src/program.ts:31–33  ·  view source on GitHub ↗
(element: TreeItem)

Source from the content-addressed store, hash-verified

29 }
30
31 getTreeItem(element: TreeItem): TreeItem {
32 return element;
33 }
34
35 getChildren(contract?: Function | Program): ProviderResult<Program[]> {
36 if (!this.workspaceRoot) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected