Liking cljdoc? Tell your friends :D

asf-cat.api

A micro library that provides a Clojure implementation of the Apache Software Foundation's 3rd Party License Policy (https://www.apache.org/legal/resolved.html).

A micro library that provides a Clojure implementation of the Apache Software Foundation's 3rd Party License Policy (https://www.apache.org/legal/resolved.html).
raw docstring

categoriesclj

The set of categories, ordered by category-comparator.

The set of categories, ordered by category-comparator.
sourceraw docstring

categoryclj

(category license-id)

Given a license-id (which should be a SPDX license id or one of a very small number of supported non-SPDX license ids), returns one of:

nil - when license-id is nil, empty or blank :category-a - see https://www.apache.org/legal/resolved.html#category-a :category-a-special - see https://www.apache.org/legal/resolved.html and scroll to the appropriate section :category-b - see https://www.apache.org/legal/resolved.html#category-b :creative-commons - see https://www.apache.org/legal/resolved.html#cc-by (may be any category - further manual investigation required) :category-x - see https://www.apache.org/legal/resolved.html#category-x :uncategorised - the ASF category could not be determined for this license

Given a license-id (which should be a SPDX license id or one of a very small number of supported non-SPDX license ids), returns one of:

nil                 - when license-id is nil, empty or blank
:category-a         - see https://www.apache.org/legal/resolved.html#category-a
:category-a-special - see https://www.apache.org/legal/resolved.html and scroll to the appropriate section
:category-b         - see https://www.apache.org/legal/resolved.html#category-b
:creative-commons   - see https://www.apache.org/legal/resolved.html#cc-by (may be any category - further manual investigation required)
:category-x         - see https://www.apache.org/legal/resolved.html#category-x
:uncategorised      - the ASF category could not be determined for this license
sourceraw docstring

category-comparatorclj

(category-comparator l r)

A comparator for ASF category keywords.

A comparator for ASF category keywords.
sourceraw docstring

category-infoclj

(category-info category)

Returns information on a category as a map with the keys :name and :url (both strings).

Returns information on a category as a map with the keys :name and :url (both strings).
sourceraw docstring

least-categoryclj

(least-category license-ids)

Returns the least category for the given sequence of license-ids.

Returns the least category for the given sequence of license-ids.
sourceraw docstring

license-comparatorclj

(license-comparator l r)

A comparator for licenses, based on their ASF categories.

A comparator for licenses, based on their ASF categories.
sourceraw docstring

policy-uriclj

The URI (as a string) of the Apache Software Foundation's 3rd Party License Policy

The URI (as a string) of the Apache Software Foundation's 3rd Party License Policy
sourceraw docstring

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

× close