MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/buildpacks / parseExecPrefix

Function parseExecPrefix

pkg/python/python.go:567–573  ·  view source on GitHub ↗
(sysconfig string)

Source from the content-addressed store, hash-verified

565 "-i",
566 "s|" + execPrefix + "|" + layer.Path + "|g",
567 path,
568 }); err != nil {
569 ctx.Warnf("Patching file %q: %v", path, err)
570 }
571 }
572 return nil
573}
574
575func parseExecPrefix(sysconfig string) (string, error) {
576 match := execPrefixRegex.FindStringSubmatch(sysconfig)

Callers 2

TestParseExecPrefixFunction · 0.85
PatchSysconfigFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestParseExecPrefixFunction · 0.68