 (defn- choose-flavor
   "Attempts to guess the appropriate DocFlavor for the document.
    Returns nil if no suitable DocFlavor is found."
-  {:since "1.0"}
+  {:since "0.0.1"}
   [source]
   (condp = (choose-source-key source)
     :file (:autosense flavors/input-streams)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Util ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(defn- choose-source-key
  "Returns a keyword representative of the document source's
   type."
  {:since "1.0"}
  [source]
  (cond (try (.. (io/file source) exists) (catch Throwable t)) :file
        (try (URL. source) (catch Throwable t)) :url

      (-> spec (dissoc :docs) (assoc :doc doc) make-job))))

;; Old method of encapsulating a 'MultiJobSpec', most
;; values in a JobSpec will be singleton instances
;; anyways, so structural sharing may not be necessary,
;; though I'll throw this in here anyways:
;;
