summaryrefslogtreecommitdiff
path: root/model/source.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/source.go')
-rw-r--r--model/source.go5
1 files changed, 5 insertions, 0 deletions
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