mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Rename packageVertex to packageGraph.
This commit is contained in:
parent
a87fe24e2f
commit
d2713eca19
@ -75,12 +75,12 @@ instance ( Effectful m
|
||||
analyzeModule recur m = do
|
||||
let name = moduleName (moduleInfo m)
|
||||
o <- raise ask
|
||||
modifyImportGraph (packageVertex @term o >< vertex (Module name) <>)
|
||||
modifyImportGraph (packageGraph @term o >< vertex (Module name) <>)
|
||||
insertVertexName name
|
||||
liftAnalyze analyzeModule recur m
|
||||
|
||||
packageVertex :: SomeOrigin term -> ImportGraph
|
||||
packageVertex = maybe empty (vertex . Package . packageName) . withSomeOrigin originPackage
|
||||
packageGraph :: SomeOrigin term -> ImportGraph
|
||||
packageGraph = maybe empty (vertex . Package . packageName) . withSomeOrigin originPackage
|
||||
|
||||
insertVertexName :: forall m location term value effects
|
||||
. ( Effectful m
|
||||
|
Loading…
Reference in New Issue
Block a user