summaryrefslogtreecommitdiff
path: root/model/target.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/target.go')
-rw-r--r--model/target.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/model/target.go b/model/target.go
index 683ab8f..156ee47 100644
--- a/model/target.go
+++ b/model/target.go
@@ -20,15 +20,15 @@ type Target interface {
Visible() bool
// Invocation should return the "canonical invocation": simple to remember
Invocation(src *Source) []string
+ File(src *Source) string
}
// HydratedTarget is something we want to show in the menu
type HydratedTarget interface {
- Target
// Icon is some text which will be used as an icon
Icon() string
// Description is a one-line description of what this does
- Description() string
+ Description(src *HydratedSource) string
// Target returns our inner target
Target() Target
}