mirror of
https://github.com/github/semantic.git
synced 2024-12-18 20:31:55 +03:00
Import whack-a-mole.
This commit is contained in:
parent
0e58b0cdde
commit
6af70476d0
@ -27,8 +27,7 @@ module Data.Blob
|
||||
|
||||
import Prologue
|
||||
|
||||
import Analysis.File (fileBody)
|
||||
import qualified Analysis.File
|
||||
import Analysis.File (File (..))
|
||||
import Analysis.Language as Language
|
||||
import Control.Effect.Error
|
||||
import Data.Aeson
|
||||
@ -44,8 +43,8 @@ import qualified System.Path.PartClass as Path.PartClass
|
||||
|
||||
-- | The source, path information, and language of a file read from disk.
|
||||
data Blob = Blob
|
||||
{ blobSource :: Source -- ^ The UTF-8 encoded source text of the blob.
|
||||
, blobFile :: File -- ^ Path/language information for this blob.
|
||||
{ blobSource :: Source -- ^ The UTF-8 encoded source text of the blob.
|
||||
, blobFile :: File Language -- ^ Path/language information for this blob.
|
||||
} deriving (Show, Eq)
|
||||
|
||||
blobLanguage :: Blob -> Language
|
||||
|
@ -13,7 +13,7 @@ import Prologue
|
||||
|
||||
import Analysis.File as File
|
||||
import qualified Control.Concurrent.Async as Async
|
||||
import Data.Blob hiding (File)
|
||||
import Data.Blob
|
||||
import qualified Data.ByteString as B
|
||||
import Data.Language
|
||||
import Semantic.IO
|
||||
|
Loading…
Reference in New Issue
Block a user