CpgLoader
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CpgLoader.type
Members list
Value members
Concrete methods
Determine whether the CPG is a legacy (proto) CPG
Determine whether the CPG is a legacy (proto) CPG
Attributes
Determine whether the CPG is a proto CPG
Determine whether the CPG is a proto CPG
Attributes
Load a Code Property Graph from the given file
Load a Code Property Graph from the given file
Attributes
Load a Code Property Graph from the given file - persist in given second file. I.e. the given input file will not be modified, all changes will be written to the given 'persistTo' file. *
Load a Code Property Graph from the given file - persist in given second file. I.e. the given input file will not be modified, all changes will be written to the given 'persistTo' file. *
Attributes
Load a Code Property Graph from the given file
Load a Code Property Graph from the given file
Notes:
- detects the format as either flatgraph, overflowdb or proto
- a flatgraph storage opened straight away
- OverflowDb and proto formats are first converted to flatgraph, which is written to the
persistTo
file - OverflowDb and proto formats are first converted to flatgraph, and therefor we create a new flatgraph storage path, which can be obtained via
cpg.graph.storagePathMaybe
Attributes
Load a Code Property Graph from the given file, but persist it in the given second file. I.e. the given input file will not be modified, all changes will be written to the given 'persistTo' file.
Load a Code Property Graph from the given file, but persist it in the given second file. I.e. the given input file will not be modified, all changes will be written to the given 'persistTo' file.
Notes:
- if the given 'persistTo' file already exists, it will be overridden
- detects the format as either flatgraph, overflowdb or proto
- a flatgraph storage is copied to the
persistTo
file and then opened straight away - OverflowDb and proto formats are first converted to flatgraph, which is written to the
persistTo
file
Attributes
Load Code Property Graph from an overflow DB file, by first converting it into a flatgraph binary
Load Code Property Graph from an overflow DB file, by first converting it into a flatgraph binary
Attributes
Deprecated methods
Determine whether the CPG is a legacy (proto) CPG
Determine whether the CPG is a legacy (proto) CPG
Attributes
- Deprecated
- true
Determine whether the CPG is a legacy (proto) CPG
Determine whether the CPG is a legacy (proto) CPG
Attributes
- Deprecated
- true