Liking cljdoc? Tell your friends :D

monkey.ci.labels


apply-label-filtersclj

(apply-label-filters labels params)

Given a single set of parameters with label filters, checks if the given labels match. If there is at least one filter in the params' :label-filters for which all labels in the conjunction match, this returns true. If the params don't have any labels, this assumes all labels match.

Given a single set of parameters with label filters, checks if the given
labels match.  If there is at least one filter in the params' `:label-filters`
for which all labels in the conjunction match, this returns `true`.  If
the params don't have any labels, this assumes all labels match.
sourceraw docstring

filter-by-labelclj

(filter-by-label repo entities)
source

labels->mapclj

(labels->map l)
source

matches-labels?clj

(matches-labels? f labels)

Predicate that checks if the given labels match filter f. The filter is a list of a list labels and values, where the first level represents a disjunction (logical 'or') and the second a conjunction (logical 'and').

Predicate that checks if the given labels match filter `f`.  The filter
is a list of a list labels and values, where the first level represents a
disjunction (logical 'or') and the second a conjunction (logical 'and').
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close