MCPcopy Create free account
hub / github.com/LanceLRQ/deer-executor / NewPy2CompileProvider

Function NewPy2CompileProvider

common/provider/python.go:21–29  ·  view source on GitHub ↗

NewPy2CompileProvider 创建一个python2语言编译提供程序

()

Source from the content-addressed store, hash-verified

19
20// NewPy2CompileProvider 创建一个python2语言编译提供程序
21func NewPy2CompileProvider() *Py2CompileProvider {
22 return &Py2CompileProvider{
23 CodeCompileProvider{
24 isReady: false,
25 realTime: true,
26 Name: "python2",
27 },
28 }
29}
30
31// Init 初始化
32func (prov *Py2CompileProvider) Init(code string, workDir string) error {

Callers 1

matchCodeLanguageFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected