CrossClj

1.10.339 docs

SourceDocs



RECENT
    VARS
    *clojurescript-version*
    boolean?
    build-options
    changed?
    clojurescript-version
    compile-if
    compiled-by-version
    conjunction-str
    content-sha
    debug-prn
    debug-prn-mutex
    distinct-by
    ext
    file-or-resource
    file?
    filename
    get-name
    last-modified
    levenshtein-distance
    map-merge
    measure
    mkdirs
    module-file-seq
    munge-path
    normalize-path
    ns->relpath
    ns->source
    output-directory
    path
    path-seq
    relative-name
    split-paths
    suggestion
    to-path
    to-target-file
    topo-sort
    unknown-opts
    url?
    valid-js-id-start?
    windows?

    « Index of all namespaces of this project

    (build-options f)
    (changed? a b)
    (clojurescript-version)
    Returns clojurescript version as a printable string.
    
    macro
    (compile-if exp then)(compile-if exp then else)
    (compiled-by-version f)
    (conjunction-str xs)
    (content-sha s)(content-sha s n)
    (debug-prn & args)
    (distinct-by f coll)
    (ext x)
    Given a file, url or string return the file extension.
    
    (file-or-resource s)
    (get-name x)
    Given a file or url return the last component of the path.
    
    (last-modified src)
    (levenshtein-distance s t)
    The the minimum number of single-element edits needed to
    transform s in to t.
    (map-merge a b)
    macro
    (measure msg expr)(measure enable msg expr)
    Like cljs.core/time but toggleable and takes a message string.
    
    (mkdirs f)
    Create all parent directories for the passed file.
    
    (module-file-seq)(module-file-seq dir)
    (munge-path ss)
    (normalize-path x)
    (ns->relpath ns)(ns->relpath ns ext)
    Given a namespace as a symbol return the relative path. May optionally
    provide the file extension, defaults to :cljs.
    (ns->source ns)
    Given a namespace as a symbol return the corresponding resource if it exists.
    
    (output-directory opts)(output-directory opts default)
    (path-seq file-str)
    (relative-name x)
    Given a file return a path relative to the working directory. Given a
    URL return the JAR relative path of the resource.
    (suggestion threshold unknown knowns)
    Provides a best suggestion for an unknown, taken from knowns,
    minimizing the Levenshtein distance, returning nil if threshold
    cannot be satisfied.
    (to-path parts)(to-path parts sep)
    (to-target-file target-dir ns-info)(to-target-file target-dir {:keys [ns source-file], :as ns-info} ext)
    (topo-sort x get-deps)(topo-sort x depth state memo-get-deps)
    (unknown-opts passed knowns)
    Takes a set of passed opt keys and known opt keys and for each
    unknown opt key returns a vector of the key and its (potentially
    nil) suggestion.
    (valid-js-id-start? s)