MCPcopy Create free account
hub / github.com/Debian/dcs / maybeRewrite

Method maybeRewrite

index/regexp.go:230–258  ·  view source on GitHub ↗

maybeRewrite rewrites q to use op if it is possible to do so without changing the meaning. It also simplifies if the node is an empty OR or AND.

(op QueryOp)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected