简体中文
外观
约 65 字小于 1 分钟
2025-10-13
Karin API Docs / comment
comment(filePath, commentConfig): void
filePath
commentConfig
void
定义于: packages/core/src/utils/fs/yaml.ts:447
为指定文件写入注释
string
文件路径
注释配置文件路径或 JSON 对象
string | YamlComment
YamlComment
Karin API Docs / comment
函数: comment()
定义于: packages/core/src/utils/fs/yaml.ts:447
为指定文件写入注释
参数
filePath
string
文件路径
commentConfig
注释配置文件路径或 JSON 对象
string
|YamlComment
返回
void