Documentation
¶
Index ¶
- func ReindexProject(p *Project)
- type EntityStats
- type Project
- type Workspace
- func (w *Workspace) Close() error
- func (w *Workspace) FindNodeByName(name string) (*store.Node, string, error)
- func (w *Workspace) FindNodeByPath(path string) (*store.Node, string, error)
- func (w *Workspace) FindProject(name string) *Project
- func (w *Workspace) GetAllFiles(pathFilter string) (map[string][]store.FileInfo, error)
- func (w *Workspace) GetAllStats() (map[string]store.Stats, error)
- func (w *Workspace) GetEntityStats() (EntityStats, error)
- func (w *Workspace) GetIncomingEdges(projectName, nodeID string) ([]store.Edge, error)
- func (w *Workspace) GetOutgoingEdges(projectName, nodeID string) ([]store.Edge, error)
- func (w *Workspace) IndexAll() error
- func (w *Workspace) Search(query, kind string, limit int) ([]store.SearchResult, error)
- func (w *Workspace) SearchWithOptions(opts store.SearchOptions) ([]store.SearchResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReindexProject ¶
func ReindexProject(p *Project)
Types ¶
type EntityStats ¶ added in v0.2.0
EntityStats aggregates entity graph counts across all workspace projects.
type Workspace ¶
type Workspace struct {
Root string
Projects []*Project
NoGitignore bool
SimilarityThreshold float64
}
func (*Workspace) FindNodeByName ¶
func (*Workspace) FindNodeByPath ¶
func (*Workspace) FindProject ¶
func (*Workspace) GetAllFiles ¶
func (*Workspace) GetEntityStats ¶ added in v0.2.0
func (w *Workspace) GetEntityStats() (EntityStats, error)
GetEntityStats fan-outs entity stats across all projects. Projects that return errors are skipped (consistent with GetAllStats pattern).
func (*Workspace) GetIncomingEdges ¶
func (*Workspace) GetOutgoingEdges ¶
func (*Workspace) SearchWithOptions ¶ added in v0.2.0
func (w *Workspace) SearchWithOptions(opts store.SearchOptions) ([]store.SearchResult, error)
Click to show internal directories.
Click to hide internal directories.