Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { OS string Arch string Version string VersionMajor string VersionMinor string VersionPatch string NakedVersion string ExeExtension string }
Args holds templating args
func (Args) MatchFilters ¶
MatchFilters matches a file against a list of template filters
We use a template to allow interpolation in binaries list (e.g. {{.OS}}-{{.Arch}}-{{.Version}}) Also, the top level directory, if present, is removed to allow an easier search For instance : ripgrep-13.0.0-x86_64-unknown-linux-musl/rg becomes ^rg$
Click to show internal directories.
Click to hide internal directories.