Liking cljdoc? Tell your friends :D

jepsen.web

Web server frontend for browsing test results.

Web server frontend for browsing test results.
raw docstring

appclj

(app req)

assert-file-in-scope!clj

(assert-file-in-scope! f)

Throws if the given file is outside our store directory.

Throws if the given file is outside our store directory.
raw docstring

colorsclj


content-typeclj

Map of extensions to known content-types

Map of extensions to known content-types
raw docstring

dirclj

(dir dir)

Serves a directory.

Serves a directory.
raw docstring

dir-cellclj

(dir-cell f)

Renders a File (a directory) for a directory view.

Renders a File (a directory) for a directory view.
raw docstring

dir-sortclj

(dir-sort files)

Sort a collection of Files. If everything's an integer, sort numerically, else alphanumerically.

Sort a collection of Files. If everything's an integer, sort numerically,
else alphanumerically.
raw docstring

e404clj


fast-testsclj

(fast-tests)

Abbreviated set of tests

Abbreviated set of tests
raw docstring

file-cellclj

(file-cell f)

Renders a File for a directory view.

Renders a File for a directory view.
raw docstring

file-urlclj

(file-url f)

URL for a File

URL for a File
raw docstring

filesclj

(files req)

Serve requests for /files/ urls

Serve requests for /files/ urls
raw docstring

homeclj

(home req)

Home page

Home page
raw docstring

relative-pathclj

(relative-path base target)

Relative path, as a Path.

Relative path, as a Path.
raw docstring

serve!clj

(serve! options)

Starts an http server with the given httpkit options.

Starts an http server with the given httpkit options.
raw docstring

test-headerclj

(test-header)

test-rowclj

(test-row t)

Turns a test map into a table row.

Turns a test map into a table row.
raw docstring

urlclj

(url t & args)

Takes a test and filename components; returns a URL for that file.

Takes a test and filename components; returns a URL for that file.
raw docstring

url-encode-path-componentsclj

(url-encode-path-components x)

URL encodes individual components of a path, leaving / as / instead of encoded.

URL encodes *individual components* of a path, leaving / as / instead of
encoded.
raw docstring

valid-colorclj


zipclj

(zip req dir)

Serves a directory as a zip file. Strips .zip off the extension.

Serves a directory as a zip file. Strips .zip off the extension.
raw docstring

zip-path!clj

(zip-path! zipper base file)

Writes a path to a zipoutputstream

Writes a path to a zipoutputstream
raw docstring

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

× close