parsePOSIXTime ByteString conversion
Some easy (though tiny) speed wins. Sponsored-by: Luke T. Shumaker on Patreon
This commit is contained in:
parent
d3de3c28eb
commit
77e9781ae2
13 changed files with 22 additions and 16 deletions
|
@ -373,4 +373,4 @@ inodeCaches locs repo = guardSafeForLsFiles repo $ do
|
|||
mkInodeCache
|
||||
<$> (readish =<< M.lookup "ino:" m)
|
||||
<*> (readish =<< M.lookup "size:" m)
|
||||
<*> (parsePOSIXTime =<< (replace ":" "." <$> M.lookup "mtime:" m))
|
||||
<*> (parsePOSIXTime =<< (encodeBS . replace ":" "." <$> M.lookup "mtime:" m))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue