Documentation ¶
Index ¶
- Constants
- func ListMacroNames() []string
- type Filter
- type FilterChain
- type FilterChainBuilder
- func (inst *FilterChainBuilder) AddRegistration(list ...*FilterRegistration) *FilterChainBuilder
- func (inst *FilterChainBuilder) AddRegistry(list ...FilterRegistry) *FilterChainBuilder
- func (inst *FilterChainBuilder) Create() FilterChain
- func (inst *FilterChainBuilder) Len() int
- func (inst *FilterChainBuilder) Less(i1, i2 int) bool
- func (inst *FilterChainBuilder) Swap(i1, i2 int)
- type FilterManager
- type FilterRegistration
- type FilterRegistry
- type MacroResolver
- func (inst *MacroResolver) Error() error
- func (inst *MacroResolver) Init(p map[string]string)
- func (inst *MacroResolver) ResolveString(s string) string
- func (inst *MacroResolver) ResolveStringArray(src []string) []string
- func (inst *MacroResolver) ResolveStringMap(src map[string]string) map[string]string
Constants ¶
View Source
const ( ExecutablePrefix = "executable." ExecutableName = ExecutablePrefix + "name" ExecutablePath = ExecutablePrefix + "path" ExecutableTitle = ExecutablePrefix + "title" )
executable
View Source
const ( RepositoryPrefix = "repository." RepositoryName = RepositoryPrefix + "name" RepositoryPath = RepositoryPrefix + "path" RepositoryWorkDir = RepositoryPrefix + "wkdir" RepositoryConfigFile = RepositoryPrefix + "config-file-path" RepositoryDotGitPath = RepositoryPrefix + "dot-git-path" RepositoryCoreDir = RepositoryPrefix + "git-core-dir" )
repository
View Source
const ( WorktreePrefix = "worktree." WorktreeName = WorktreePrefix + "name" WorktreeDotGitPath = WorktreePrefix + "dot-git-path" WorktreeWorkDir = WorktreePrefix + "wkdir" )
worktree
View Source
const ( ProjectPrefix = "project." ProjectName = ProjectPrefix + "name" ProjectFullPath = ProjectPrefix + "fullpath" )
project
View Source
const ( FilePrefix = "file." FileName = FilePrefix + "name" FilePath = FilePrefix + "path" FileType = FilePrefix + "type" )
file
View Source
const ( FolderPrefix = "folder." FolderName = FolderPrefix + "name" FolderPath = FolderPrefix + "path" FolderType = FolderPrefix + "type" )
folder
View Source
const ( SubmodulePrefix = "submodule." SubmoduleName = SubmodulePrefix + "name" SubmoduleWorkDir = SubmodulePrefix + "wkdir" SubmoduleDotGit = SubmodulePrefix + "dotgit" )
submodule
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FilterChain ¶
FilterChain ...
type FilterChainBuilder ¶
type FilterChainBuilder struct {
// contains filtered or unexported fields
}
FilterChainBuilder ...
func (*FilterChainBuilder) AddRegistration ¶
func (inst *FilterChainBuilder) AddRegistration(list ...*FilterRegistration) *FilterChainBuilder
AddRegistration ...
func (*FilterChainBuilder) AddRegistry ¶
func (inst *FilterChainBuilder) AddRegistry(list ...FilterRegistry) *FilterChainBuilder
AddRegistry ...
func (*FilterChainBuilder) Len ¶
func (inst *FilterChainBuilder) Len() int
func (*FilterChainBuilder) Less ¶
func (inst *FilterChainBuilder) Less(i1, i2 int) bool
func (*FilterChainBuilder) Swap ¶
func (inst *FilterChainBuilder) Swap(i1, i2 int)
type FilterManager ¶
type FilterManager interface {
Chain() FilterChain
}
FilterManager ... [inject:"#wpm-intent-filter-manager"]
type FilterRegistration ¶
FilterRegistration ...
type FilterRegistry ¶
type FilterRegistry interface {
GetFilterRegistrationList() []*FilterRegistration
}
FilterRegistry ... [inject:".wpm-intent-filter"]
type MacroResolver ¶
type MacroResolver struct {
// contains filtered or unexported fields
}
MacroResolver ...
func (*MacroResolver) Error ¶
func (inst *MacroResolver) Error() error
func (*MacroResolver) ResolveString ¶
func (inst *MacroResolver) ResolveString(s string) string
ResolveString ...
func (*MacroResolver) ResolveStringArray ¶
func (inst *MacroResolver) ResolveStringArray(src []string) []string
ResolveStringArray ...
func (*MacroResolver) ResolveStringMap ¶
func (inst *MacroResolver) ResolveStringMap(src map[string]string) map[string]string
ResolveStringMap ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.