hls-graph-1.5.1.1: Haskell Language Server internal graph API
Safe HaskellNone
LanguageHaskell2010

Development.IDE.Graph.Database

Synopsis

Documentation

type ShakeValue a = (Show a, Typeable a, Eq a, Hashable a, NFData a) Source #

shakeRunDatabase :: ShakeDatabase -> [Action a] -> IO ([a], [IO ()]) Source #

shakeRunDatabaseForKeys Source #

Arguments

:: Maybe [Key]

Set of keys changed since last run. Nothing means everything has changed

-> ShakeDatabase 
-> [Action a] 
-> IO ([a], [IO ()]) 

shakeProfileDatabase :: ShakeDatabase -> FilePath -> IO () Source #

Given a ShakeDatabase, write an HTML profile to the given file about the latest run.

shakeGetBuildStep :: ShakeDatabase -> IO Int Source #

Returns the build number

shakeGetDirtySet :: ShakeDatabase -> IO [(Key, Int)] Source #

Returns the set of dirty keys annotated with their age (in # of builds)

shakeGetCleanKeys :: ShakeDatabase -> IO [(Key, Result)] Source #

Returns the clean keys in the database

shakeGetBuildEdges :: ShakeDatabase -> IO Int Source #

Returns the total count of edges in the build graph