Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/opencontainers/runc
/ destroy
Method
destroy
libcontainer/state_linux.go:134–139 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
132
}
133
134
func
(r *runningState) destroy() error {
135
if
r.c.hasInit() {
136
return
ErrRunning
137
}
138
return
destroy(r.c)
139
}
140
141
type
createdState
struct
{
142
c *Container
Callers
nothing calls this directly
Calls
2
destroy
Function · 0.85
hasInit
Method · 0.80
Tested by
no test coverage detected