MCPcopy Create free account
hub / github.com/cloudwego/eino-examples / WriteFile

Method WriteFile

adk/multiagent/deep/operator.go:42–44  ·  view source on GitHub ↗
(ctx context.Context, path, content string)

Source from the content-addressed store, hash-verified

40}
41
42func (l *LocalOperator) WriteFile(ctx context.Context, path, content string) error {
43 return os.WriteFile(path, []byte(content), 0o666)
44}
45
46func (l *LocalOperator) IsDirectory(ctx context.Context, path string) (bool, error) {
47 return true, nil

Callers 10

InvokableRunMethod · 0.45
InvokableRunMethod · 0.45
InvokableRunMethod · 0.45
Write2PlanMDFunction · 0.45
generateMethod · 0.45
renderWithChromedpFunction · 0.45
ensureSkillMDFunction · 0.45
createSessionFunction · 0.45
GetConversationMethod · 0.45
InvokeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected