diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-22 22:06:24 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-22 22:06:24 +0200 |
| commit | 1e8cedca4d03829fadd532e9c5980dbb0eeab4bb (patch) | |
| tree | 90745c56ab9c3feec790ba001683a19f4e360eb8 /model/runner.go | |
| parent | d88661935fa2b6e2c0fe93345800113e1a71b451 (diff) | |
docs
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) |
