Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlushAndSync ¶
func FlushAndSync(opts *Options, dc *dict.Dictionary, sync bool)
同步变更到文件中,如果启用了自动部署Rime的功能则调用部署指令
Types ¶
type Options ¶
type Options struct {
RestartRimeCmd string `yaml:"restart_rime_cmd"`
UserPath string `yaml:"user_path"`
DictPaths []string `yaml:"dict_paths"`
SyncOnChange bool `yaml:"sync_on_change"`
Export string `yaml:"export"`
ExportColumns string `yaml:"export_columns"`
ExportWithSort bool `yaml:"export_with_sort"`
}
func ParseOptions ¶
Click to show internal directories.
Click to hide internal directories.