MCPcopy Index your code
hub / github.com/containers/toolbox / getEnterCommand

Function getEnterCommand

src/cmd/create.go:556–567  ·  view source on GitHub ↗
(container string)

Source from the content-addressed store, hash-verified

554}
555
556func getEnterCommand(container string) string {
557 var enterCommand string
558
559 switch container {
560 case utils.ContainerNameDefault:
561 enterCommand = fmt.Sprintf("%s enter", executableBase)
562 default:
563 enterCommand = fmt.Sprintf("%s enter %s", executableBase, container)
564 }
565
566 return enterCommand
567}
568
569func getImageSizeFromRegistry(ctx context.Context, imageFull string) (string, error) {
570 image, err := skopeo.Inspect(ctx, imageFull)

Callers 1

createContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…