Skip to content

Commit

Permalink
Add types of file
Browse files Browse the repository at this point in the history
  • Loading branch information
asafambar committed Jan 2, 2024
1 parent 2d35a98 commit bf03b13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xray/services/utils/graph.go
Original file line number Diff line number Diff line change
@@ -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 {

0 comments on commit bf03b13

Please sign in to comment.