codepropertygraph
codepropertygraph
io.shiftleft
Implicits
IterableOnceDeco
JavaIteratorDeco
OverflowDbTestInstance
SerializedCpg
io.shiftleft.codepropertygraph
Cpg
io.shiftleft.codepropertygraph.cpgloading
CpgLoader
CpgLoaderConfig
CpgLoaderConfig
NodeFilter
ProtoCpgLoader
ProtoToCpg
ProtoToCpg
TmpEdge
ZipArchive
io.shiftleft.passes
AppliedDiffGraph
BatchUpdateBiListener
BatchUpdateForwardListener
BatchUpdateInverseListener
BatchUpdateListenerLogger
ConcurrentWriterCpgPass
ConcurrentWriterCpgPass
CpgPass
CpgPassBase
CpgPassBase
DiffGraph
DiffGraph
Applier
ArrayChangeSet
Builder
Change
CreateEdge
CreateEdge
CreateNode
NodeKind
Existing
New
NodeKind
RemoveEdge
RemoveEdgeProperty
RemoveNode
RemoveNodeProperty
SetEdgeProperty
SetNodeProperty
Change
DiffEdge
EdgeFromOriginal
EdgeInDiffGraph
EdgeInOriginal
EdgeProperty
EdgeToOriginal
EmptyChangeSet
InverseBuilder
InverseBuilder
InverseBuilderImpl
NodeProperty
NoopInverseBuilder
PackedProperties
SingleChangeSet
DiffGraphProtoSerializer
DiffGraphProtoSerializer
ForkJoinParallelCpgPass
IntervalKeyPool
KeyPool
KeyPoolCreator
NewStyleCpgPassBase
ParallelIteratorExecutor
SequenceKeyPool
SimpleCpgPass
io.shiftleft.utils
ExecutionContextProvider
IOUtils
ProjectRoot
SearchDepthExceededError
StringInterner
StringInterner
codepropertygraph
/
io.shiftleft.utils
/
IOUtils
IOUtils
object
IOUtils
Graph
Supertypes
Self type
class
Object
trait
Matchable
class
Any
IOUtils
Value members
Value members
Concrete methods
def
readLinesInFile
(path:
Path
):
Seq
[
String
]
Reads a file at the given path and:
Reads a file at the given path and:
skips BOM if present
removes unpaired surrogates
uses UTF-8 encoding (replacing malformed and unmappable characters)
Value Params
path
the file path
Returns
a Seq with all lines in the given file as Strings