From 1e8cedca4d03829fadd532e9c5980dbb0eeab4bb Mon Sep 17 00:00:00 2001 From: ewy Date: Wed, 22 Apr 2026 22:06:24 +0200 Subject: docs --- model/source.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'model/source.go') diff --git a/model/source.go b/model/source.go index 29cff05..b7f28d4 100644 --- a/model/source.go +++ b/model/source.go @@ -6,6 +6,8 @@ import ( "pik/spool" ) +// Source is a location containing stuff we can run +// these get created when we find a makefile, .pik folder, etc. type Source struct { identity.Identity Tags @@ -13,6 +15,9 @@ type Source struct { Targets []Target } +// HydratedSource is a Source with additional hydration +// for the menu. +// these do not get created unless we show the menu type HydratedSource struct { *Source HydratedTargets []HydratedTarget -- cgit v1.3.1