@@ -49,6 +49,7 @@ type Manifest struct {
|
||||
Request
|
||||
SourceType string
|
||||
SourceName string
|
||||
SourceRoot string
|
||||
RelativePath string
|
||||
Name string
|
||||
SizeBytes *int64
|
||||
@@ -218,7 +219,7 @@ func stderrDetail(tail string) string {
|
||||
func (runner *CommandRunner) Run(ctx context.Context, manifest Manifest) (Result, error) {
|
||||
manifestJSON, err := json.Marshal(map[string]any{
|
||||
"spec_id": manifest.VersionID, "node_id": manifest.NodeID, "connection_id": manifest.ConnectionID,
|
||||
"source_type": manifest.SourceType, "source_name": manifest.SourceName,
|
||||
"source_type": manifest.SourceType, "source_name": manifest.SourceName, "source_root": manifest.SourceRoot,
|
||||
"relative_path": manifest.RelativePath, "name": manifest.Name,
|
||||
"size_bytes": manifest.SizeBytes, "locator_hash": manifest.LocatorHash,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user