MCPcopy
hub / github.com/MetaCubeX/mihomo / WriteMrs

Method WriteMrs

rules/provider/domain_strategy.go:68–73  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

66}
67
68func (d *domainStrategy) WriteMrs(w io.Writer) error {
69 if d.domainSet == nil {
70 return errors.New("nil domainSet")
71 }
72 return d.domainSet.WriteBin(w)
73}
74
75func (d *domainStrategy) DumpMrs(f func(key string) bool) {
76 if d.domainSet != nil {

Callers

nothing calls this directly

Calls 2

NewMethod · 0.80
WriteBinMethod · 0.45

Tested by

no test coverage detected