Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PacnewChecker ¶
func PacnewChecker() error
PacnewChecker 检测是否有 pacnew 文件
- pacnew 文件是 Arch Linux 系统软件包更新后其中的配置文件等比旧版有更改时将新版的文件添加后缀名 .pacnew
返回:
- 错误信息
func PrintVersionInfo ¶ added in v0.5.6
func PrintVersionInfo(only bool)
PrintVersionInfo 打印版本信息
参数:
- only: 是否只打印版本号
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.