MCPcopy Create free account
hub / github.com/cloudwego/eino-ext / ReadFile

Method ReadFile

components/tool/commandline/pyexecutor_test.go:45–47  ·  view source on GitHub ↗
(ctx context.Context, path string)

Source from the content-addressed store, hash-verified

43 return &CommandOutput{Stdout: "hello world\n", Stderr: "", ExitCode: 0}, nil
44}
45func (pyOperator) ReadFile(ctx context.Context, path string) (string, error) {
46 panic("implement me")
47}
48
49func (pyOperator) WriteFile(ctx context.Context, path string, content string) error {
50 return nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected