MCPcopy Index your code
hub / github.com/TruthHun/BookStack / IsInstalledCalibre

Function IsInstalledCalibre

utils/dependency.go:112–115  ·  view source on GitHub ↗

IsInstalledCalibre 是否安装了calibre

(calibre string)

Source from the content-addressed store, hash-verified

110
111// IsInstalledCalibre 是否安装了calibre
112func IsInstalledCalibre(calibre string) (err error) {
113 _, err = ExecCommand(calibre, []string{"--version"})
114 return
115}

Callers 1

Calls 1

ExecCommandFunction · 0.85

Tested by

no test coverage detected