summaryrefslogtreecommitdiff
path: root/model/runner.go
blob: b413d51cb42d3d6dac2398ce921238d9dd41a09c (plain)
1
2
3
4
5
6
7
8
9
10
11
package model

import (
	"io/fs"
)

type Runner interface {
	Hydrate(target Target) (HydratedTarget, error)
	Wants(fs fs.FS, file string, entry fs.DirEntry) (bool, error)
	CreateTarget(fs fs.FS, source string, file string, entry fs.DirEntry) (Target, error)
}