package
1.13.1
Repository: https://github.com/dotcloud/docker.git
Documentation: pkg.go.dev

# Functions

IsNonUniqueNameError processes the error to check if it's caused by a constraint violation.
NewDatabase creates a new graph database initialized with a root entity.
PathDepth returns the depth or number of / in a given path.

# Structs

Database is a graph database for storing entities and their relationships.
An Edge connects two entities together.
Entity with a unique id.
WalkMeta stores the walk metadata.

# Type aliases

Edges stores the relationships between entities.
Entities stores the list of entities.
WalkFunc is a function invoked to process an individual entity.