Skip to content

Commit

Permalink
bump flatgraph, properly log transitive changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrehm committed Sep 16, 2024
1 parent 8f975f8 commit c905a06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name := "codepropertygraph"

// parsed by project/Versions.scala, updated by updateDependencies.sh
val flatgraphVersion = "0.0.88"
val flatgraphVersion = "0.0.89"

inThisBuild(
List(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,7 @@ abstract class ForkJoinParallelCpgPass[T <: AnyRef](cpg: Cpg, @nowarn outName: S
nanosBuilt = System.nanoTime()
nDiff = diffGraph.size

// TODO how about `nDiffT` which seems to count the number of modifications..
// nDiffT = overflowdb.BatchedUpdate
// .applyDiff(cpg.graph, diffGraph, null)
// .transitiveModifications()

flatgraph.DiffGraphApplier.applyDiff(cpg.graph, diffGraph)
nDiffT = flatgraph.DiffGraphApplier.applyDiff(cpg.graph, diffGraph)
} catch {
case exc: Exception =>
baseLogger.error(s"Pass ${name} failed", exc)
Expand Down

0 comments on commit c905a06

Please sign in to comment.