You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
307 B
Clojure
9 lines
307 B
Clojure
(ns asciinema.component.auto-file-store
|
|
(:require [asciinema.component.local-file-store :refer [local-file-store]]
|
|
[asciinema.component.s3-file-store :refer [s3-file-store]]))
|
|
|
|
(defn auto-file-store [config]
|
|
(if (:s3-bucket config)
|
|
(s3-file-store config)
|
|
(local-file-store config)))
|