GO-2024-2472 : Go package github.com/notaryproject/notation configured with permissive trust policies potentially susceptible to rollback attack from compromised registry
The highest tagged major version is
v2 .
Discover Packages
github.com/notaryproject/notation
internal
tree
package
Version:
v1.3.2
Opens a new window with list of versions in this module.
Published: Apr 24, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Node struct {
Value string
Children []*Node
}
represents a Node in a tree
creates a new Node with the given value
adds a new child node with the given value
adds a new child node with the formatted pair as the value
func (root *Node ) Print()
prints the tree represented by the root node
Source Files
¶
Click to show internal directories.
Click to hide internal directories.