//
pkg.gl
Category
github.com/ETHFSx/go-merkledag
traverse
package
0.3.3
Repository:
https://github.com/ethfsx/go-merkledag.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
177 SLOC
#
Functions
Traverse
Traverse initiates a DAG traversal with the given options starting at the given root.
#
Constants
BFS
BFS defines breadth-first order.
DFSPost
DFSPost defines depth-first post-order.
DFSPre
DFSPre defines depth-first pre-order.
#
Structs
Options
Options specifies a series of traversal options.
State
State is a current traversal state.
#
Type aliases
ErrFunc
ErrFunc is provided to handle problems when walking to the Node.
Func
Func is the type of the function called for each dag.Node visited by Traverse.
Order
Order is an identifier for traversal algorithm orders.