all repos — searchix @ 5f9c7ef00b1ed56fb1abbade4d5dbc3041acd4fc

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

feat: log on startup if index doesn't exist
Alan Pearce alan@alanpearce.eu
Tue, 14 May 2024 17:24:01 +0200
commit

5f9c7ef00b1ed56fb1abbade4d5dbc3041acd4fc

parent

56406890b7ff3cd05cada498456110b72777ccd0

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M searchix.gosearchix.go
@@ -64,6 +64,7 @@ log.Fatalf("Failed to open or create index: %v", err) 	}
 
 	if !exists {
+		slog.Info("Index doesn't exist. Starting build job...")
 		err = importer.Start(conf, write, *replace)
 		if err != nil {
 			log.Fatalf("Failed to build index: %v", err)