-
-
Save ober/b5d9b69f6978827a2782 to your computer and use it in GitHub Desktop.
valid?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn list-files | |
"Get list of all files in there" | |
(loop [ files {} ] | |
(let [ hit (s3/list-objects cred "somebuckets") ] | |
(if (:truncated? hit) | |
(recur (conj files (:objects hit))) | |
files)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment