MCPcopy Create free account
hub / github.com/celer-pkg/celer / IsHostSupported

Method IsHostSupported

configs/port.go:439–446  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

437}
438
439func (p Port) IsHostSupported() bool {
440 // Only build_tool ports (like m4, automake, libtool, autoconf) are restricted to Linux/Darwin.
441 if !p.Package.BuildTool {
442 return true
443 }
444
445 return runtime.GOOS == "linux" || runtime.GOOS == "darwin"
446}
447
448func (p Port) validate() error {
449 if p.Package.Url == "" {

Callers 4

InstallMethod · 0.95
InitMethod · 0.95
InstalledMethod · 0.95
CheckHostSupportedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected