io.shiftleft.utils.IOUtils
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
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 parameters
-
path
-
the file path
Attributes
-
Returns
-
a String with the given file's contents
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 parameters
-
path
-
the file path
Attributes
-
Returns
-
a Seq with all lines in the given file as Strings