Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ferhatelmas/go-compressed
Check if a given path is a compressed file
https://github.com/ferhatelmas/go-compressed
Last synced: 26 days ago
JSON representation
Check if a given path is a compressed file
- Host: GitHub
- URL: https://github.com/ferhatelmas/go-compressed
- Owner: ferhatelmas
- License: mit
- Created: 2015-06-05T10:25:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-05T10:31:42.000Z (over 9 years ago)
- Last Synced: 2023-03-23T01:42:02.975Z (over 1 year ago)
- Language: Go
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
## go-compressed
[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/ferhatelmas/go-compressed)
[![Build Status](https://travis-ci.org/ferhatelmas/go-compressed.png?branch=master)](https://travis-ci.org/ferhatelmas/go-compressed)> Check if a filepath is a compressed file.
### Install
```
go get github.com/ferhatelmas/go-compressed
```### Usage
```go
import "github.com/ferhatelmas/go-compressed"compressed.Is("src/unicorn.rar")
//=> truecompressed.Is("src/unicorn.txt")
//=> false
```### License
MIT © [ferhat elmas](http://ferhatelmas.com)