Cpg

io.shiftleft.codepropertygraph.generated.Cpg
See theCpg companion class
object Cpg

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Cpg.type

Members list

Value members

Concrete methods

def empty: Cpg
def from(initialElements: DiffGraphBuilder => DiffGraphBuilder): Cpg
def help(implicit searchPackageNames: DocSearchPackages, availableWidthProvider: AvailableWidthProvider): String
def helpVerbose(implicit searchPackageNames: DocSearchPackages, availableWidthProvider: AvailableWidthProvider): String
def newDiffGraphBuilder: DiffGraphBuilder
def withStorage(storagePath: Path, persistOnClose: Boolean): Cpg

Instantiate a new graph with storage. If the file already exists, this will deserialize the given file into memory. Graph.close will serialise graph to that given file (and override whatever was there before), unless you specify persistOnClose = false.

Instantiate a new graph with storage. If the file already exists, this will deserialize the given file into memory. Graph.close will serialise graph to that given file (and override whatever was there before), unless you specify persistOnClose = false.

Attributes

Concrete fields

val defaultDocSearchPackage: DocSearchPackages