diff options
Diffstat (limited to 'app/History/Scramble.hs')
-rw-r--r-- | app/History/Scramble.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/History/Scramble.hs b/app/History/Scramble.hs index ca4f4f8..017523a 100644 --- a/app/History/Scramble.hs +++ b/app/History/Scramble.hs @@ -1,6 +1,6 @@ module History.Scramble ( Scramble (..), - getScramble, + getScrambleOf, getIssuesOfFile, fromComment, ) @@ -35,8 +35,8 @@ data Scramble = Scramble } deriving (Show, Binary, Generic) -getScramble :: Backend.CommitHash -> IO Scramble -getScramble commitHash = do +getScrambleOf :: Backend.CommitHash -> IO Scramble +getScrambleOf commitHash = do filesChanged <- Backend.getChangedFilesOf commitHash issues <- concat <$> mapM (getIssuesOfFile commitHash) filesChanged pure $ |