Skip to content

Commit

Permalink
Merge branch 'dev' into XRAY-36857---Add-JF_MSI-env-var
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalbe4 authored Jan 4, 2024
2 parents 26719f7 + b17dd66 commit 4e990ba
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions xray/services/utils/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ type OtherComponentIds struct {

// Audit Graph Node
type GraphNode struct {
Id string `json:"component_id,omitempty"`
// List of subcomponents.
Nodes []*GraphNode `json:"nodes,omitempty"`
// Node parent (for internal use)
Parent *GraphNode `json:"-"`
// Node file types (tar, jar, zip, pom)
Types *[]string `json:"-"`
Id string `json:"component_id,omitempty"`
// List of subcomponents.
Nodes []*GraphNode `json:"nodes,omitempty"`
}

func (currNode *GraphNode) NodeHasLoop() bool {
Expand Down

0 comments on commit 4e990ba

Please sign in to comment.