{"id":16660954,"url":"https://github.com/agrafix/ignore","last_synced_at":"2025-04-09T18:51:08.239Z","repository":{"id":36910055,"uuid":"41217090","full_name":"agrafix/ignore","owner":"agrafix","description":"Library and tiny tool for working with ignore files of different version control systems","archived":false,"fork":false,"pushed_at":"2020-11-04T05:16:13.000Z","size":14,"stargazers_count":2,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T15:46:22.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agrafix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-22T17:10:03.000Z","updated_at":"2020-11-04T05:16:15.000Z","dependencies_parsed_at":"2022-09-01T03:10:42.529Z","dependency_job_id":null,"html_url":"https://github.com/agrafix/ignore","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrafix%2Fignore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrafix%2Fignore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrafix%2Fignore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrafix%2Fignore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agrafix","download_url":"https://codeload.github.com/agrafix/ignore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248092285,"owners_count":21046448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T10:32:35.398Z","updated_at":"2025-04-09T18:51:08.218Z","avatar_url":"https://github.com/agrafix.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ignore\n=====\n\n[![Build Status](https://travis-ci.org/agrafix/ignore.svg)](https://travis-ci.org/agrafix/ignore)\n[![Hackage](https://img.shields.io/hackage/v/ignore.svg)](http://hackage.haskell.org/package/ignore)\n\n## Intro\n\nHackage: [ignore](http://hackage.haskell.org/package/ignore)\nStackage: [ignore](https://www.stackage.org/package/ignore)\n\nHandle ignore files of different VCSes\n\n## Cli Usage: ignore\n\n```sh\n$ ignore --help\nThe ignore tool\n(c) 2015 Alexander Thiemann\n\nTiny tool to check if a file in a repo is ignored by a VCS\n\nUsage: ignore [--help|-h] file1 file2 file3 ... fileN\n\n```\n\n## Library Usage Example\n\n```haskell\nmodule Main where\n\nimport Ignore\n\nimport Path\nimport System.Environment\nimport System.Directory\n\nmain :: IO ()\nmain =\n    do dir \u003c- getCurrentDirectory \u003e\u003e= parseAbsDir\n       ignoreFiles \u003c- findIgnoreFiles [VCSGit, VCSMercurial, VCSDarcs] dir\n       checker \u003c- buildChecker ignoreFiles\n       case checker of\n           Left err -\u003e error err\n           Right (FileIgnoredChecker isFileIgnored) -\u003e\n                  putStrLn $\n                    \"Main.hs is \"\n                    ++ (if isFileIgnored \"Main.hs\"\n                        then \"ignored\" else \"not ignored\")\n\n```\n\n## Install\n\n* Using cabal: `cabal install ignore`\n* Using Stack: `stack install ignore`\n* From Source (cabal): `git clone https://github.com/agrafix/ignore.git \u0026\u0026 cd ignore \u0026\u0026 cabal install`\n* From Source (stack): `git clone https://github.com/agrafix/ignore.git \u0026\u0026 cd ignore \u0026\u0026 stack build`\n\n\n## Misc\n\n### Supported GHC Versions\n\n\n### License\n\nReleased under the BSD3 license.\n(c) 2015 Alexander Thiemann\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrafix%2Fignore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagrafix%2Fignore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrafix%2Fignore/lists"}