MCPcopy Create free account
hub / github.com/containerd/cgroups / Path

Method Path

cgroup1/pids.go:42–44  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

40}
41
42func (p *pidsController) Path(path string) string {
43 return filepath.Join(p.root, path)
44}
45
46func (p *pidsController) Create(path string, resources *specs.LinuxResources) error {
47 if err := os.MkdirAll(p.Path(path), defaultDirPerm); err != nil {

Callers 2

CreateMethod · 0.95
StatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected