aboutsummaryrefslogtreecommitdiffstats
path: root/app/Git.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-14 07:07:28 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-14 07:07:45 +0100
commit09e26c37de7e7227d856ffe15c9554af36b50c58 (patch)
tree553a527ff19f5ef105cbc2f026284e75fa5900db /app/Git.hs
parent8dcace960b25813b00e5f77be25aa7db57851f79 (diff)
review: request-changes feature/review
Diffstat (limited to 'app/Git.hs')
-rw-r--r--app/Git.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/Git.hs b/app/Git.hs
index 2e8fa82..e195d1b 100644
--- a/app/Git.hs
+++ b/app/Git.hs
@@ -97,12 +97,6 @@ readTextFileOfText = readTextFileOf LT.readFile LT.decodeUtf8
readTextFileOfBS :: CommitHash -> FilePath -> IO LB.ByteString
readTextFileOfBS = readTextFileOf LB.readFile id
--- REVIEW Suggestion: we could use `id` instead of `\x -> x`
---
--- REVIEW OK!
---
--- RESOLVED
-
readTextFileOf :: (FilePath -> IO a) -> (LB.ByteString -> a) -> CommitHash -> FilePath -> IO a
readTextFileOf readFile _ WorkingTree filePath =
catch