all repos — searchix @ 520dcca2755dbbab13ceebdc53d03beec8b94533

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: store data separate from search index

Alan Pearce
commit

520dcca2755dbbab13ceebdc53d03beec8b94533

parent

d25925f0d7c7e0951e739473795309514f5b558a

1 file changed, 0 insertions(+), 10 deletions(-)

changed files
M internal/components/data.gointernal/components/data.go
@@ -4,7 +4,6 @@ import (
"alin.ovh/searchix/frontend" "alin.ovh/searchix/internal/config" search "alin.ovh/searchix/internal/index" - "alin.ovh/searchix/internal/nix" ) type TemplateData struct {
@@ -25,12 +24,3 @@ Prev string
Next string All string } - -func convertMatch[I nix.Importable](m nix.Importable) *I { - i, ok := m.(I) - if !ok { - return nil - } - - return &i -}