Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenAtomFoundation/SmartIDE
/ IsNotNil
Method
IsNotNil
cli/pkg/docker/compose/yml.go:51–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
}
50
51
func
(c *DockerComposeYml) IsNotNil() bool {
52
return
!c.IsNil()
53
}
54
55
/*
// 从compose中 获取宿主端口(可能会变) 和 容器端口的绑定关系
56
func
(c *DockerComposeYml) GetPortBindings()
map
[string]string {
Callers
nothing calls this directly
Calls
1
IsNil
Method · 0.95
Tested by
no test coverage detected