MCPcopy
hub / github.com/apache/devlake / DataConverter

Struct DataConverter

backend/helpers/pluginhelper/api/data_convertor.go:53–56  ·  view source on GitHub ↗

DataConverter helps you convert Data from Tool Layer Tables to Domain Layer Tables It reads rows from specified Iterator, and feed it into `Converter` handler you can return arbitrary domain layer entities from this handler, ApiConverter would first delete old data by their RawDataOrigin information

Source from the content-addressed store, hash-verified

51// first delete old data by their RawDataOrigin information, and then perform a
52// batch save operation for you.
53type DataConverter struct {
54 *RawDataSubTask
55 args *DataConverterArgs
56}
57
58// NewDataConverter function helps you create a DataConverter using DataConverterArgs.
59// You can see the usage in plugins/github/tasks/pr_issue_convertor.go or other convertor file.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected