Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsolutePath ¶
AbsolutePath expands a leading ~/ and resolves relative paths.
func ResolveRoot ¶
ResolveRoot selects flag > MDKB_ROOT > user config > ~/kb. Lower-priority configuration is not read when a root is already selected.
Types ¶
type SemanticSettings ¶
type SemanticSettings struct {
Enabled bool `toml:"enabled"`
URL string `toml:"url"`
Model string `toml:"model"`
TimeoutSeconds int `toml:"timeout_seconds"`
}
func Semantic ¶
func Semantic() (SemanticSettings, error)
type WriteSettings ¶
type WriteSettings struct {
CommitOnWrite bool `toml:"commit_on_write"`
DailyDir string `toml:"daily_dir"`
}
func Writes ¶
func Writes() (WriteSettings, error)
Click to show internal directories.
Click to hide internal directories.