mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
Change SourceBlob blobKind to Maybe SourceKind
This commit is contained in:
parent
3e47ce2dfa
commit
b4d3f2164f
@ -7,7 +7,7 @@ import qualified Data.Text as T
|
||||
data SourceKind = PlainBlob | ExecutableBlob | SymlinkBlob
|
||||
deriving (Show, Eq, Enum)
|
||||
|
||||
data SourceBlob = SourceBlob { source :: Source Char, oid :: String, path :: FilePath, blobKind :: SourceKind }
|
||||
data SourceBlob = SourceBlob { source :: Source Char, oid :: String, path :: FilePath, blobKind :: Maybe SourceKind }
|
||||
deriving (Show, Eq)
|
||||
|
||||
-- | The contents of a source file, backed by a vector for efficient slicing.
|
||||
|
Loading…
Reference in New Issue
Block a user