cryostasis
Cryostasis
Cryostasis allows you to preserve files into the crystal binary. Upon launch of the app, the files will be restored to their location relative to the executable. This allows you to access the files in a standard crystal way and does not keep the files in memory for longer than they need to be.
Installation
-
Add the dependency to your
shard.yml
:dependencies: cryostasis: github: jwaldrip/cryostasis
-
Run
shards install
Usage
require "cryostasis"
Cryostasis.preserve("glob/pattern/of/files/**")
Contributing
- Fork it (https://github.com/jwaldrip/cyrostasis/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- jwaldrip - creator and maintainer
Repository
cryostasis
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- almost 3 years ago
- January 7, 2022
License
MIT License
Links
Synced at
Thu, 21 Nov 2024 07:51:09 GMT
Languages