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

Method IsDirectory

components/tool/commandline/editor_test.go:61–64  ·  view source on GitHub ↗
(ctx context.Context, path string)

Source from the content-addressed store, hash-verified

59}
60
61func (m *MockFileOperator) IsDirectory(ctx context.Context, path string) (bool, error) {
62 args := m.Called(ctx, path)
63 return args.Bool(0), args.Error(1)
64}
65
66func (m *MockFileOperator) Exists(ctx context.Context, path string) (bool, error) {
67 args := m.Called(ctx, path)

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected