parentsgraph

package
v3.1.12+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts Opts) (*Graph, State)

Types

type Graph

type Graph struct {
	Parents  map[string][]string
	Children map[string][]string
	// contains filtered or unexported fields
}

func NewFromMap

func NewFromMap(parents map[string][]string) *Graph

type Opts

type Opts struct {
	State   State
	Commits chan *object.Commit
}

type State

type State struct {
	Parents map[string][]string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL