MCPcopy
hub / github.com/SurgeDM/Surge / AddDownloadFunc

FuncType AddDownloadFunc

internal/processing/manager.go:23–23  ·  view source on GitHub ↗

AddDownloadFunc is the lifecycle's handoff into the engine-facing queue layer.

func(string, string, string, []string, map[string]string, bool, int64, bool) (string, error)

Source from the content-addressed store, hash-verified

21
22// AddDownloadFunc is the lifecycle's handoff into the engine-facing queue layer.
23type AddDownloadFunc func(string, string, string, []string, map[string]string, bool, int64, bool) (string, error)
24
25// AddDownloadWithIDFunc preserves caller-chosen ids when a remote/UI layer already owns them.
26type AddDownloadWithIDFunc func(string, string, string, []string, map[string]string, string, int64, bool) (string, error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected