diff --git a/xray/services/utils/graph.go b/xray/services/utils/graph.go index d976d55a6..d7c7fb645 100644 --- a/xray/services/utils/graph.go +++ b/xray/services/utils/graph.go @@ -35,6 +35,8 @@ type GraphNode struct { Nodes []*GraphNode `json:"nodes,omitempty"` // Node parent (for internal use) Parent *GraphNode `json:"-"` + // Node file types (tar, jar, zip, pom) + Types []string `json:"_"` } func (currNode *GraphNode) NodeHasLoop() bool {