(capture-expected-paths {:keys [api] :as app-conf})Capture expected file paths from remote server before pull operation.
Capture expected file paths from remote server before pull operation.
(capture-pre-pull-local-files {:keys [api] :as app-conf})Capture API-managed local files before pull operation for orphan detection.
Capture API-managed local files before pull operation for orphan detection.
(cleanup-orphaned-files-with-pre-pull
{:keys [delete-orphaned pre-pull-local-files] :as app-conf}
apis)Clean up orphaned local files using pre-pull captured files.
Clean up orphaned local files using pre-pull captured files.
(confirm-deletion orphaned-files)Ask user for confirmation to delete orphaned files in interactive mode.
Ask user for confirmation to delete orphaned files in interactive mode.
(delete-orphaned-files {:keys [interactive api] :as app-conf} orphaned-files)Delete orphaned files with proper logging and confirmation.
Delete orphaned files with proper logging and confirmation.
(download {:keys [api] :as app-conf})Serializes all xml found at the api rest-path to the filesystem using the supplied config. Returns a (potentially) updated app-conf with details about the fetched apis.
Serializes all xml found at the api rest-path to the filesystem using the supplied config. Returns a (potentially) updated app-conf with details about the fetched apis.
(expand-filerefs main-file el-loc)Expands fileref elements found within the passed xml zip and returns the expanded modified xml (zip)
Expands fileref elements found within the passed xml zip and returns the expanded modified xml (zip)
(fetch-and-pre-assoc k ktag app-conf)Fetches the children of the current api from the server. Wraps the children with the supplied keyword tag, zippers the zml and returns a modified app-conf with the zipper assoc'ed using the supplied keyword.
Fetches the children of the current api from the server. Wraps the children with the supplied keyword tag, zippers the zml and returns a modified app-conf with the zipper assoc'ed using the supplied keyword.
(get-remote-expected-file-paths {:keys [api] :as app-conf})Get a set of file paths that would be generated from remote elements.
Get a set of file paths that would be generated from remote elements.
(upload {:keys [api] :as app-conf})Takes the current app-conf with the current api and finds associated files within the target directory. The files in the specified path directory are each read and handed to upload-node to push to Mirth.
Takes the current app-conf with the current api and finds associated files within the target directory. The files in the specified path directory are each read and handed to upload-node to push to Mirth.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |