MCPcopy Index your code
hub / github.com/jetify-com/devbox / Search

Function Search

internal/nix/search.go:35–42  ·  view source on GitHub ↗
(url string)

Source from the content-addressed store, hash-verified

33}
34
35func Search(url string) (map[string]*PkgInfo, error) {
36 if strings.HasPrefix(url, "runx:") {
37 // TODO implement runx search. Also, move this check outside this function: nix package
38 // should not be handling runx logic.
39 return map[string]*PkgInfo{}, nil
40 }
41 return searchSystem(url, "" /* system */)
42}
43
44func parseSearchResults(data []byte) map[string]*PkgInfo {
45 var results map[string]map[string]any

Callers 3

AddMethod · 0.92

Calls 1

searchSystemFunction · 0.85

Tested by

no test coverage detected