git-config: A simple parser for Git configuration files
git-config is a simple megaparsec
parser for Git configuration files.
It aims to provide the simplest API possible for parsing Git configuration files so that you can get to whatever it was you were doing.
A sample of this library in use:
import qualified Data.Text.IO as TIO import Text.GitConfig.Parser (parseConfig) main :: IO () main = do file <- TIO.readFile ".git/config" case parseConfig file of Right conf -> print conf
[Skip to Readme]
Versions [faq] | 0.1.0, 0.1.1 |
---|---|
Dependencies | base (>=4.7 && <5), megaparsec, text, unordered-containers [details] |
License | BSD-3-Clause |
Copyright | 2018 Fernando Freire |
Author | Fernando Freire |
Maintainer | Fernando Freire <dogonthehorizon@gmail.com> |
Category | Library, Git |
Home page | https://github.com/dogonthehorizon/git-config#readme |
Bug tracker | https://github.com/dogonthehorizon/git-config/issues |
Source repo | head: git clone https://github.com/dogonthehorizon/git-config |
Uploaded | by ffreire at Mon Feb 19 04:56:13 UTC 2018 |
Distributions | NixOS:0.1.1 |
Downloads | 224 total (32 in the last 30 days) |
Rating | (no votes yet) [estimated by rule of succession] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-02-19 [all 1 reports] |
Downloads
- git-config-0.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)