Liking cljdoc? Tell your friends :D

cloverage.source


form-readerclj

(form-reader ns-symbol)
source

formsclj

(forms source-reader)

Return a lazy sequence of all forms in a source file using source-reader to read them.

Return a lazy sequence of all forms in a source file using `source-reader` to read them.
sourceraw docstring

ns-formclj

(ns-form ns-symbol)

Return the ns declaration form from the file associated with the namespace named by ns-symbol.

(ns-form 'cloverage.source) ;; -> (ns cloverage.source (:require [clojure.java.io :as io] [clojure.string :as str] [clojure.tools.namespace.file :as ns.file]) (:import clojure.lang.RT java.io.File))

Return the `ns` declaration form from the file associated with the namespace named by `ns-symbol`.

(ns-form 'cloverage.source)
;; ->
(ns cloverage.source
  (:require [clojure.java.io :as io]
            [clojure.string :as str]
            [clojure.tools.namespace.file :as ns.file])
  (:import clojure.lang.RT
           java.io.File))
sourceraw docstring

resource-pathclj

(resource-path ns-symbol)

Given a symbol naming a namespace, return a classpath-relative path to the file defining that namespace.

(resource-path 'cloverage.source) ;; -> "cloverage/source.clj"

Given a symbol naming a namespace, return a classpath-relative path to the file defining that namespace.

(resource-path 'cloverage.source)
;; -> "cloverage/source.clj"
sourceraw docstring

resource-readerclj

(resource-reader resource)
source

source-file-pathclj

(source-file-path resource)

Given a classpath-relative path, return a relative source file path.

Given a classpath-relative path, return a relative source file path.
sourceraw docstring

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

× close