graph

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

type Graph struct {
	Pkgs   map[string]set.Set[string]
	Depths map[string]int
}

func New

func New() *Graph

func (*Graph) Depth

func (g *Graph) Depth(pkg string) int

func (*Graph) Less

func (g *Graph) Less(a, b string) bool

Jump to

Keyboard shortcuts

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