Liking cljdoc? Tell your friends :D

mirthsync.actions


capture-expected-pathsclj

(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.
raw docstring

capture-pre-pull-local-filesclj

(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.
raw docstring

cleanup-orphaned-files-with-pre-pullclj

(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.
raw docstring

confirm-deletionclj

(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.
raw docstring

delete-orphaned-filesclj

(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.
raw docstring

downloadclj

(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.
raw docstring

expand-filerefsclj

(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)
raw docstring

fetch-and-pre-assocclj

(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.
raw docstring

get-remote-expected-file-pathsclj

(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.
raw docstring

uploadclj

(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.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close