MCPcopy
hub / github.com/qustavo/httplab / Len

Method Len

response.go:329–329  ·  view source on GitHub ↗

Len reports the length of the response list.

()

Source from the content-addressed store, hash-verified

327
328// Len reports the length of the response list.
329func (rl *ResponsesList) Len() int { return len(rl.keys) }
330
331// Keys retrieves an []string of all keys in the response list.
332func (rl *ResponsesList) Keys() []string { return rl.keys }

Callers 4

TestResponsesListFunction · 0.95
TestLoadFromJSONFunction · 0.95
toggleResponsesLoaderMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestResponsesListFunction · 0.76
TestLoadFromJSONFunction · 0.76