 (defn- codetemplate-file-path
   "Returns the codetemplate xml path accounting for lib nesting."
   [{:keys [server-codelibs el-loc] :as app-conf
-    {:keys [local-path find-name find-id] :as api} :api}]
+    {:keys [local-path find-name find-id]} :api}]
   (str (local-path (:target app-conf))
        File/separator
        (when-let [lib-name (safe-name

(defn- channel-file-path
  "Returns the channel xml path accounting for group nesting."
  [{:keys [server-groups el-loc] :as app-conf
    {:keys [local-path find-name find-id] :as api} :api}]
  (str (local-path (:target app-conf))
       File/separator
       (when-let [group-name (safe-name

  [path]
  (log/debugf "Received file-path: %s" path)
  (fn [{:keys [el-loc] :as app-conf
       {:keys [local-path find-name]} :api}]
    (log/spyf :debug "Constructed file path: %s"
              (str (local-path (:target app-conf))
                   (when-not (.endsWith ^String (local-path (:target app-conf)) File/separator) File/separator)
