deps_log

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deps

type Deps struct {
	Mtime timestamp.TimeStamp
	Nodes []*graph.Node
}

func NewDeps

func NewDeps(mtime timestamp.TimeStamp, nodeCount int) *Deps

type DepsLog

type DepsLog struct {
	// contains filtered or unexported fields
}

DepsLog tracks dependency information

func NewDepsLog

func NewDepsLog() *DepsLog

NewDepsLog creates a new DepsLog

func (*DepsLog) Close

func (d *DepsLog) Close() error

func (*DepsLog) GetDeps

func (d *DepsLog) GetDeps(node *graph.Node) *Deps

func (*DepsLog) GetFirstReverseDepsNode

func (d *DepsLog) GetFirstReverseDepsNode(node *graph.Node) *graph.Node

func (*DepsLog) IsDepsEntryLiveFor

func (d *DepsLog) IsDepsEntryLiveFor(node *graph.Node) bool

func (*DepsLog) Load

func (d *DepsLog) Load(path string, state *state.State) error

func (*DepsLog) Nodes

func (d *DepsLog) Nodes() []*graph.Node

func (*DepsLog) OpenForWrite

func (d *DepsLog) OpenForWrite(path string) error

func (*DepsLog) OpenForWriteIfNeeded

func (d *DepsLog) OpenForWriteIfNeeded() error

func (*DepsLog) Recompact

func (d *DepsLog) Recompact(path string) error

func (*DepsLog) RecordDeps

func (d *DepsLog) RecordDeps(node *graph.Node, mtime timestamp.TimeStamp, nodes []*graph.Node) error

func (*DepsLog) RecordId

func (d *DepsLog) RecordId(node *graph.Node) error

func (*DepsLog) TestingGetDeps

func (d *DepsLog) TestingGetDeps() []*Deps

func (*DepsLog) UpdateDeps

func (d *DepsLog) UpdateDeps(outID int, deps *Deps) bool

Jump to

Keyboard shortcuts

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