Documentation
¶
Index ¶
- Constants
- Variables
- func SanitizeName(name string) (string, error)
- func Title(rel string) string
- type Match
- type Node
- type Store
- func (s *Store) Abs(rel string) (string, error)
- func (s *Store) CreateDir(parent, name string) (string, error)
- func (s *Store) CreateNote(dir, title string) (string, error)
- func (s *Store) ModTime(rel string) (time.Time, error)
- func (s *Store) Notes() ([]string, error)
- func (s *Store) Read(rel string) (string, time.Time, error)
- func (s *Store) Rename(rel, newName string) (string, error)
- func (s *Store) Search(query string, limit int) ([]Match, error)
- func (s *Store) Trash(rel string) (string, error)
- func (s *Store) Tree() (*Node, error)
- func (s *Store) Write(rel, content string) (time.Time, error)
Constants ¶
View Source
const ( NoteExt = ".md" TrashDir = ".trash" )
Variables ¶
Functions ¶
func SanitizeName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.