(parentId string, childrenIds []string)
| 117 | } |
| 118 | |
| 119 | func (doc *BomSWDocument) AppendDependencies(parentId string, childrenIds []string) { |
| 120 | if doc.Software.Dependencies == nil { |
| 121 | doc.Software.Dependencies = []swDependencies{} |
| 122 | } |
| 123 | if len(childrenIds) > 0 { |
| 124 | doc.Software.Dependencies = append(doc.Software.Dependencies, newDependencies(parentId, childrenIds)) |
| 125 | } |
| 126 | } |
no test coverage detected