MCPcopy
hub / github.com/containers/toolbox / IsInsideToolboxContainer

Function IsInsideToolboxContainer

src/pkg/utils/utils.go:767–769  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

765}
766
767func IsInsideToolboxContainer() bool {
768 return PathExists("/run/.toolboxenv")
769}
770
771// ResolveContainerAndImageNames takes care of standardizing names of containers and images.
772//

Callers

nothing calls this directly

Calls 1

PathExistsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…