Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ferhatelmas/go-archive
Check if a given path is an archive
https://github.com/ferhatelmas/go-archive
Last synced: 26 days ago
JSON representation
Check if a given path is an archive
- Host: GitHub
- URL: https://github.com/ferhatelmas/go-archive
- Owner: ferhatelmas
- License: mit
- Created: 2015-06-04T21:56:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-16T07:37:34.000Z (about 9 years ago)
- Last Synced: 2024-06-21T01:43:30.487Z (5 months ago)
- Language: Go
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
## go-archive
[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/ferhatelmas/go-archive)
[![Build Status](https://travis-ci.org/ferhatelmas/go-archive.png?branch=master)](https://travis-ci.org/ferhatelmas/go-archive)> Check if a filepath is an archive file.
### Install
```
go get github.com/ferhatelmas/go-archive
```### Usage
```go
import "github.com/ferhatelmas/go-archive"archive.Is("src/unicorn.zip")
//=> truearchive.Is("src/unicorn.txt")
//=> false
```### License
MIT © [ferhat elmas](http://ferhatelmas.com)