Documentation
¶
Index ¶
- func ReindexProject(p *Project)
- 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) 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReindexProject ¶
func ReindexProject(p *Project)
Types ¶
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) GetIncomingEdges ¶
func (*Workspace) GetOutgoingEdges ¶
Click to show internal directories.
Click to hide internal directories.