Liking cljdoc? Tell your friends :D

clj-holmes.rules.loader.utils


filter-rules-by-tagsclj

(filter-rules-by-tags rules rule-tags)
source

function-usage-possibilitiesclj

(function-usage-possibilities requires ns-to-find function)

Given the following input

  • function: read-string
  • namespace: clojure.edn
  • ns-declaration: (ns banana (:require [clojure.edn :as edn]) The result will be a set #{read-string, clojure.edn/read-string, edn/read-string} which contains all possibilities to find the clojure.edn/read-string function in the namespace banana
Given the following input
- function: read-string
- namespace: clojure.edn
- ns-declaration: (ns banana (:require [clojure.edn :as edn])
The result will be a set #{read-string, clojure.edn/read-string, edn/read-string} which contains all possibilities to
find the clojure.edn/read-string function in the namespace banana
sourceraw docstring

is-rule?clj

(is-rule? file)
source

OrderedMap->Mapclj

(OrderedMap->Map nested-ordered-map)

Since yaml parse returns an ordered map it's not possible to use spec to validate the rule so it's necessary to transform the rule to clojure map.

Since yaml parse returns an ordered map it's not possible to use spec to validate the rule so it's necessary to
transform the rule to clojure map.
sourceraw docstring

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

× close