MCPcopy
hub / github.com/docker/compose / getCallingFunction

Function getCallingFunction

pkg/dryrun/dryrunclient.go:84–88  ·  pkg/dryrun/dryrunclient.go::getCallingFunction
()

Source from the content-addressed store, hash-verified

82}
83
84func getCallingFunction() string {
85 pc, _, _, _ := runtime.Caller(2)
86 fullName := runtime.FuncForPC(pc).Name()
87 return fullName[strings.LastIndex(fullName, ".")+1:]
88}
89
90// All methods and functions which need to be overridden for dry run.
91

Callers 2

ContainerListMethod · 0.85
ImageInspectMethod · 0.85

Calls 1

NameMethod · 0.45

Tested by

no test coverage detected