utils

package
v0.0.0-...-c97ac92 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMultigraph = errors.New("multigraph detected")
)

Functions

func CheckMultigraph

func CheckMultigraph(asset *model.Asset) error

CheckMultigraph returns ErrMultigraph if the given fake asset should create a multigraph, whether it is in it's dependents or dependencies. "fake" means it is the result of an asset built for this check as it could be saved in the in-memory database, but that is not yet saved in it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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