Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Internal helpers
getIssueTitle :: Id Issue -> IO Text Source #
getOwnerRepo :: IO (Maybe (Name Owner, Name Repo)) Source #
Get the owner and the repository name.
parseOwnerRepo :: Text -> Maybe (Name Owner, Name Repo) Source #
Note: this works with GitHub projects!
This function supports four kinds of the URLs:
SSH one:
git@github.com:kowainik/hit-on.git
or
git@github.com:kowainik/hit-on
And HTTPS one:
https://github.com/kowainik/hit-on.git
or
https://github.com/kowainik/hit-on