Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yetanalytics/zipple
Simple zip util lib
https://github.com/yetanalytics/zipple
Last synced: 8 days ago
JSON representation
Simple zip util lib
- Host: GitHub
- URL: https://github.com/yetanalytics/zipple
- Owner: yetanalytics
- License: epl-1.0
- Created: 2016-08-10T19:19:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-11T18:36:23.000Z (over 8 years ago)
- Last Synced: 2024-02-27T11:26:57.431Z (10 months ago)
- Language: Clojure
- Size: 15.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# zipple
[![Build Status](https://travis-ci.org/yetanalytics/zipple.svg?branch=master)](https://travis-ci.org/yetanalytics/zipple)
A tiny lib to make working with zips in Clojure a little less painful.
## Usage
``` clojure
(require '[zipple.core :refer :all])(dotozip "tmp/dotozip.zip"
;; add a file
(add "dotozip/file1.txt" (io/file "dev-resources/test/file1.txt"))
;; add a file by content
(add "dotozip/foo.txt" "bar")
;; add a directory w/files
(add "dotozip/test" (io/file "dev-resources/test"))
;; add an empty dir
(add "dotozip/empty/")) ;; => a java.io.File
```## License
Copyright © 2016 Yet Analytics Inc.
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.