Versions in this module Expand all Collapse all v0 v0.5.0 Nov 12, 2024 v0.4.1 Oct 7, 2024 Changes in this version + func DiffListFilesOpts(want files.ListFilesOptions, got ...files.ListFileOption) (diff string) + type MockFileManager struct + ApplyPatchFunc func(ctx context.Context, fs afero.Fs, path, patch string) (*model.File, error) + CreateFileFunc func(ctx context.Context, fs afero.Fs, path, content string) (*model.File, error) + DeleteFileFunc func(ctx context.Context, fs afero.Fs, path string) error + ListFilesFunc func(ctx context.Context, fs afero.Fs) ([]*model.File, error) + ReadFileFunc func(ctx context.Context, fs afero.Fs, path string) (*model.File, error) + UpdateFileFunc func(ctx context.Context, fs afero.Fs, path, content string) (*model.File, error) + UpdateLinesFunc func(ctx context.Context, fs afero.Fs, path string, lineDiff files.LineDiffChunk) (*model.File, error) + func (m *MockFileManager) ApplyPatch(ctx context.Context, fs afero.Fs, path, patch string) (*model.File, error) + func (m *MockFileManager) CreateFile(ctx context.Context, fs afero.Fs, path, content string) (*model.File, error) + func (m *MockFileManager) DeleteFile(ctx context.Context, fs afero.Fs, path string) error + func (m *MockFileManager) ListFiles(ctx context.Context, fs afero.Fs) ([]*model.File, error) + func (m *MockFileManager) ReadFile(ctx context.Context, fs afero.Fs, path string) (*model.File, error) + func (m *MockFileManager) UpdateFile(ctx context.Context, fs afero.Fs, path, content string) (*model.File, error) + func (m *MockFileManager) UpdateLines(ctx context.Context, fs afero.Fs, path string, lineDiff files.LineDiffChunk) (*model.File, error)