diff options
Diffstat (limited to 'model/runner.go')
| -rw-r--r-- | model/runner.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/model/runner.go b/model/runner.go index b413d51..e8cbcc0 100644 --- a/model/runner.go +++ b/model/runner.go @@ -4,6 +4,9 @@ import ( "io/fs" ) +// Runner knows how to go from a file to an exec.Cmd +// these are mostly used for pikdex but other runners can use them as well +// these have to be registered in main.go type Runner interface { Hydrate(target Target) (HydratedTarget, error) Wants(fs fs.FS, file string, entry fs.DirEntry) (bool, error) |
