MCPcopy Index your code
hub / github.com/coder/coder / AlwaysFalse

Function AlwaysFalse

coderd/rbac/regosql/sqltypes/always_false.go:19–23  ·  view source on GitHub ↗

AlwaysFalse overrides the inner node with a constant "false".

(m VariableMatcher)

Source from the content-addressed store, hash-verified

17
18// AlwaysFalse overrides the inner node with a constant "false".
19func AlwaysFalse(m VariableMatcher) VariableMatcher {
20 return alwaysFalse{
21 Matcher: m,
22 }
23}
24
25// AlwaysFalseNode is mainly used for unit testing to make a Node immediately.
26func AlwaysFalseNode(n Node) Node {

Callers 7

TemplateConverterFunction · 0.92
ChatNoACLConverterFunction · 0.92
AuditLogConverterFunction · 0.92
ConnectionLogConverterFunction · 0.92
UserConverterFunction · 0.92
NoACLConverterFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected