Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IncludeEdge ¶
IncludeEdge holds all relevant information to create meaningful edges inside the storage system for querying.
type Storage ¶
type Storage interface {
// CreateProjectNode takes a project name and takes care of
// creating a node inside the storage.
CreateProjectNode(ctx context.Context, projectPath string) error
// CreateIncludeEdge is responsible for creating the edges
// inside the storage, include edges should have the
// `ref` and `files` fields set to allow for queries based
// on the data.
CreateIncludeEdge(ctx context.Context, include IncludeEdge) error
// RemoveAll will delete all nodes & edges
RemoveAll(ctx context.Context) error
}
Click to show internal directories.
Click to hide internal directories.