all repos — searchix @ 35226fd9989a28f813380e665a026caf427cb549

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

feat: store import timestamp on entities

Alan Pearce
commit

35226fd9989a28f813380e665a026caf427cb549

parent

a3d4d48317310712ba8e98c0288d7eb84f9efafd

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

changed files
M internal/importer/options.gointernal/importer/options.go
@@ -4,6 +4,7 @@ import (
"context" "io" "reflect" + "time" "alin.ovh/x/log"
@@ -180,6 +181,7 @@ Example: i.convertDocsValue(i.optJSON.Example),
RelatedPackages: nix.Markdown(i.optJSON.RelatedPackages), Loc: i.optJSON.Loc, Type: i.optJSON.Type, + ImportedAt: time.Now(), } } }()