MCPcopy
hub / github.com/harness/harness / Move

Method Move

registry/app/pkg/python/local_helper_test.go:144–153  ·  view source on GitHub ↗
(
	ctx context.Context,
	info pkg.ArtifactInfo,
	filename, version, path string,
	metadata metadata.Metadata,
	fileInfo types.FileInfo,
)

Source from the content-addressed store, hash-verified

142}
143
144func (m *MockLocalBase) Move(
145 ctx context.Context,
146 info pkg.ArtifactInfo,
147 filename, version, path string,
148 metadata metadata.Metadata,
149 fileInfo types.FileInfo,
150) (*commons.ResponseHeaders, string, error) {
151 args := m.Called(ctx, info, filename, version, path, metadata, fileInfo)
152 return args.Get(0).(*commons.ResponseHeaders), args.String(1), args.Error(2) //nolint:errcheck
153}
154
155func (m *MockLocalBase) UploadFile(
156 ctx context.Context, info pkg.ArtifactInfo, filename, version, path string,

Callers

nothing calls this directly

Calls 3

GetMethod · 0.65
ErrorMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected