MCPcopy Create free account
hub / github.com/conventionalcommit/commitlint / GetFormatter

Method GetFormatter

registry/registry.go:166–172  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

164}
165
166func (reg *registry) GetFormatter(name string) (lint.Formatter, bool) {
167 reg.mut.Lock()
168 defer reg.mut.Unlock()
169
170 format, ok := reg.allFormatters[name]
171 return format, ok
172}
173
174func (reg *registry) Formatters() []lint.Formatter {
175 reg.mut.Lock()

Callers 1

GetFormatterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected