Documentation ¶
Index ¶
- Variables
- type Cache
- type DB
- func (c *DB) Ancestors(paths ...string) (deps []string, err error)
- func (c *DB) Close() error
- func (c *DB) Delete(paths ...string) error
- func (c *DB) Files() ([]*File, error)
- func (c *DB) Get(path string) (*virtual.File, error)
- func (c *DB) Link(from string, toPatterns ...string) error
- func (c *DB) Links() ([]*Link, error)
- func (c *DB) Print(w io.Writer) error
- func (c *DB) Reset() error
- func (c *DB) Set(path string, file *virtual.File) error
- type File
- type Link
Constants ¶
This section is empty.
Variables ¶
View Source
var Discard = discard{}
View Source
var ErrDatabaseMoved = fmt.Errorf("dag/sqlite: database moved")
View Source
var ErrNotFound = fmt.Errorf("dag/sqlite: file not found")
Functions ¶
This section is empty.
Types ¶
type DB ¶ added in v0.2.6
type DB struct {
// contains filtered or unexported fields
}
func (*DB) Ancestors ¶ added in v0.2.6
Ancestors returns all the ancestor paths. Those that depend on the given paths.
func (*DB) Print ¶ added in v0.2.6
Print the DAG in a dot graph format. That you can paste in here: https://dreampuf.github.io/GraphvizOnline
Click to show internal directories.
Click to hide internal directories.