Documentation ¶
Index ¶
- type FilterFunc
- type Notebook
- func (book *Notebook) AddFilter(filter FilterFunc)
- func (book *Notebook) Count() int
- func (book *Notebook) IsNote(noteId uint64) bool
- func (book *Notebook) LinkCount() int
- func (book *Notebook) Load(dir string) error
- func (book *Notebook) MatchedTags(searchTags ...string) []matchedTag
- func (book *Notebook) Read() []parser.Note
- func (book *Notebook) Search(query ...string) []Result
- func (book *Notebook) SearchByTags(searchTags ...string) []Result
- func (book *Notebook) SearchRelated(id uint64) []Result
- func (book *Notebook) TagConnections(search string) []TagConnection
- func (book *Notebook) TagIntersection(matchedTags []matchedTag) []graph.Vertex
- func (book *Notebook) Tags(search string) []string
- type Result
- type TagConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterFunc ¶
type Notebook ¶
type Notebook struct { Filters []FilterFunc Invalid map[uint64]parser.Note Notes *graph.Graph // contains filtered or unexported fields }
func (*Notebook) AddFilter ¶
func (book *Notebook) AddFilter(filter FilterFunc)
func (*Notebook) MatchedTags ¶
func (*Notebook) SearchByTags ¶
func (*Notebook) SearchRelated ¶
func (*Notebook) TagConnections ¶
func (book *Notebook) TagConnections(search string) []TagConnection
func (*Notebook) TagIntersection ¶
type TagConnection ¶
Click to show internal directories.
Click to hide internal directories.