Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanamura/tempry
Get a random temporary directory path
https://github.com/yanamura/tempry
script swift swift-script temporary temporary-directory
Last synced: 13 days ago
JSON representation
Get a random temporary directory path
- Host: GitHub
- URL: https://github.com/yanamura/tempry
- Owner: yanamura
- License: mit
- Created: 2018-03-30T08:49:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-16T06:08:22.000Z (over 5 years ago)
- Last Synced: 2024-10-13T01:34:34.014Z (27 days ago)
- Topics: script, swift, swift-script, temporary, temporary-directory
- Language: Swift
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tempry
[![Build Status](https://travis-ci.org/yanamura/Tempry.svg?branch=master)](https://travis-ci.org/yanamura3/Tempry)Get a random temporary directory path
## Usage
### create temporary directory and get the path
```swift
path = try Tempry.directory()
```### delete temporary directory
```swift
try Tempry.dispose(path: path)
```