MCPcopy
hub / github.com/dragonflyoss/dragonfly / FormatFilteredQueryParams

Function FormatFilteredQueryParams

pkg/idgen/task_id.go:160–162  ·  view source on GitHub ↗

FormatFilteredQueryParams formats a slice of strings into a filtered query params string.

(params []string)

Source from the content-addressed store, hash-verified

158
159// FormatFilteredQueryParams formats a slice of strings into a filtered query params string.
160func FormatFilteredQueryParams(params []string) string {
161 return strings.Join(params, FilteredQueryParamsSeparator)
162}
163
164// TaskIDV2ByURLBased generates v2 version of task id by url based.
165func TaskIDV2ByURLBased(url string, pieceLength *uint64, tag, application string, filteredQueryParams []string, revision string) string {

Callers 7

PreheatImageMethod · 0.92
StatImageMethod · 0.92
PreheatFileMethod · 0.92
TestServiceV1_storeTaskFunction · 0.92
TriggerTaskMethod · 0.92
header.goFile · 0.92

Calls

no outgoing calls

Tested by 2

TestServiceV1_storeTaskFunction · 0.74