mirror of
https://github.com/github/semantic.git
synced 2025-01-01 19:55:34 +03:00
Remove redundant module names
This commit is contained in:
parent
0157b6588c
commit
0c646d8a8c
@ -30,8 +30,8 @@ newtype Source a = Source { getVector :: Vector.Vector a }
|
||||
|
||||
-- | Map blobs with Nothing blobKind to empty blobs.
|
||||
idOrEmptySourceBlob :: SourceBlob -> SourceBlob
|
||||
idOrEmptySourceBlob blob = if isNothing (Source.blobKind blob)
|
||||
then (blob { Source.oid = nullOid, Source.blobKind = Nothing })
|
||||
idOrEmptySourceBlob blob = if isNothing (blobKind blob)
|
||||
then blob { oid = nullOid, blobKind = Nothing }
|
||||
else blob
|
||||
|
||||
nullOid :: String
|
||||
|
Loading…
Reference in New Issue
Block a user