internal

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureBuiltinSkills

func EnsureBuiltinSkills() error

EnsureBuiltinSkills 确保内置技能被复制到用户目录 支持增量复制:只复制缺失的技能,不会覆盖已存在的技能

func EnsureConfig

func EnsureConfig() (bool, error)

EnsureConfig 确保配置文件存在 如果 config.json 不存在,则从 config.example.json 复制 返回是否是新创建的配置文件,以及可能的错误

func GetConfigPath

func GetConfigPath() string

GetConfigPath 获取配置文件路径

func GetGoclawDir

func GetGoclawDir() string

GetGoclawDir 获取 goclaw 配置目录

func GetHomeDir

func GetHomeDir() string

GetHomeDir 获取用户主目录

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL