CrossClj

2.3.1 docs

SourceDocs


project

docs index

NAMESPACES
mranderson047
alembic.v0v3v3
classlojure
v0v7v0.classlojure
dynapath
cheshire.v5v4v0
cljs-tooling
v0v1v7.cljs-tooling
fs
http-kit
v2v1v19.org.httpkit
javaclasspath
v0v2v2.clojure
lein-cljfmt.v0v3v0
rewrite-clj
toolsanalyzerjvm
toolsnamespace
toolsreader
version-clj
refactor-nrepl

RECENT
    VARS
    -rename-file-or-dir
    assert-friendly
    calculate-affected-files
    chop-src-dir-prefix
    create-new-ns-form!
    file-or-symlink-exists?
    merge-paths
    moving-dirs?
    path->ns
    path-ns
    prune-stale-mappings!
    rename-dir
    rename-file!
    rename-file-or-dir
    rename-source-file
    replace-package-prefix
    unalias-old-ns!
    unmap-old-ns-symbols!
    update-class-references
    update-dependent
    update-dependents!
    update-file-content-sans-ns
    update-libspecs
    update-ns!
    update-ns-reference-in-libspec
    update-references-in-deps

    « Index of all namespaces of this project

    Private
    (-rename-file-or-dir old-path new-path)
    Private
    (assert-friendly old-path new-path)
    Private
    (calculate-affected-files old-path new-path dependents)
    Private
    (chop-src-dir-prefix path)
    Given a path cuts away the part matching a dir on classpath.
    
    We use this as a crude way to find the source directories on the classpath.
    Private
    (create-new-ns-form! file old-ns new-ns)
    Reads file and returns an updated ns.
    
    Private
    (file-or-symlink-exists? path)
    Private
    (merge-paths path old-parent new-parent)
    Update path with new prefix when parent dir is moved
    
    Private
    (moving-dirs? old-path new-path)
    Private
    (path->ns new-path)
    Given an absolute file path to a non-existing file determine the
    name of the ns.
    (path-ns path)
    Takes a path to a source file and constructs a namespace symbol
    out of the path.
    Private
    (prune-stale-mappings! dependents old-ns)
    Private
    (rename-dir old-path new-path)
    Private
    (rename-file! old-path new-path)
    Actually rename a file.
    
    (rename-file-or-dir old-path new-path)
    Renames a file or dir updating all dependent files.
    
    old-path and new-path are expected to be aboslute paths.
    
    Returns a list of all files that were affected.
    Private
    (rename-source-file old-path new-path)
    Move file from old to new, updating any dependents.
    
    Private
    (replace-package-prefix old-prefix new-prefix class)
    Private
    (unalias-old-ns! ns-name old-ns)
    After renaming old-ns the aliases in the dependent ns ns-name is
    out of date.  This unaliases so find-symbol doesn't get confused.
    Private
    (unmap-old-ns-symbols! ns-name old-ns)
    After renaming old-ns all symbols in the dependent ns ns-name still
    resolves to the wrong thing.  This unmaps those symbols so
    find-symbol doesn't get confused.
    Private
    (update-class-references classes old-ns new-ns)
    Private
    (update-dependent file old-ns new-ns)
    New content for a dependent file.
    
    Private
    (update-dependents! new-dependents)
    Actually write new content for dependents
    
    Private
    (update-file-content-sans-ns file old-ns new-ns)
    Any fully qualified references to old-ns has to be replaced with new-ns.
    
    Private
    (update-libspecs libspecs old-ns new-ns)
    Replaces any references old-ns with new-ns in all libspecs.
    
    Private
    (update-ns! path old-ns)
    After moving some file to path update its ns to reflect new location.
    
    (update-ns-reference-in-libspec old-ns new-ns libspec)
    Private
    (update-references-in-deps parsed-ns old-ns new-ns)