Liking cljdoc? Tell your friends :D

lice-comb.files

Files related functionality.

Files related functionality.
raw docstring

dir->idsclj

(dir->ids dir)

Attempt to detect the license(s) in a directory. dir may be a String or a java.io.File, both of which must refer to a directory.

Attempt to detect the license(s) in a directory. dir may be a String or a java.io.File, both of which must refer to a directory.
sourceraw docstring

file->idsclj

(file->ids f)
(file->ids f fname)

Attempts to determine the SPDX license identifier(s) (a set) from the given file (an InputStream or something that can have an io/input-stream opened on it). If an InputStream is provided, the associated filename MUST also be provided as the second parameter.

Attempts to determine the SPDX license identifier(s) (a set) from the given file (an InputStream or something that can have an io/input-stream opened on it).
If an InputStream is provided, the associated filename MUST also be provided as the second parameter.
sourceraw docstring

probable-license-file?clj

(probable-license-file? f)

Returns true if the given file-like thing (String, File, ZipEntry) is a probable license file, false otherwise.

Returns true if the given file-like thing (String, File, ZipEntry) is a probable license file, false otherwise.
sourceraw docstring

probable-license-filesclj

(probable-license-files dir)

Returns all probable license files in the given directory, recursively, as a set of java.io.File objects. dir may be a String or a java.io.File, both of which must refer to a directory.

Returns all probable license files in the given directory, recursively, as a set of java.io.File objects. dir may be a String or a java.io.File, both of which must refer to a directory.
sourceraw docstring

zip->idsclj

(zip->ids zip)

Attempt to detect the license(s) in a ZIP file. zip may be a String or a java.io.File, both of which must refer to a ZIP-format compressed file.

Attempt to detect the license(s) in a ZIP file. zip may be a String or a java.io.File, both of which must refer to a ZIP-format compressed file.
sourceraw docstring

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

× close