File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Data.List
55import Data.Maybe
66
77main = do
8- possibleRepo <- Github. userRepo " mike-burns" " trylambda"
8+ possibleRepo <- Github. repository " mike-burns" " trylambda"
99 case possibleRepo of
1010 (Left error ) -> putStrLn $ " Error: " ++ (show error )
1111 (Right repo) -> putStrLn $ formatRepo repo
Original file line number Diff line number Diff line change @@ -136,14 +136,14 @@ organizationReposR org publicity =
136136
137137-- | Details on a specific repo, given the owner and repo name.
138138--
139- -- > userRepo "mike-burns" "github"
139+ -- > repository "mike-burns" "github"
140140repository :: Name Owner -> Name Repo -> IO (Either Error Repo )
141141repository = repository' Nothing
142142
143143-- | Details on a specific repo, given the owner and repo name.
144144-- With authentication.
145145--
146- -- > userRepo ' (Just (BasicAuth (user, password))) "mike-burns" "github"
146+ -- > repository ' (Just (BasicAuth (user, password))) "mike-burns" "github"
147147repository' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error Repo )
148148repository' auth user repo =
149149 executeRequestMaybe auth $ repositoryR user repo
You can’t perform that action at this time.
0 commit comments