FileUtils
io.shiftleft.js2cpg.io.FileUtils$
object FileUtils
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- FileUtils.type
Members list
Concise view
Type members
Classlikes
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Value members
Concrete methods
Cleans the given path as String and removes unwanted elements that occur during transpilation on the Windows platform and/or CI environments.
Cleans the given path as String and removes unwanted elements that occur during transpilation on the Windows platform and/or CI environments.
Attributes
def copyToDirectory(from: File, directory: File, config: Config)(implicit copyOptions: CopyOptions): File
Calculates various statistics of the source.
Calculates various statistics of the source.
- lines of code
- longest line of code
- containment of a given marker
This implementation is just as fast as the unix word count program wc -l
. By using Scala BufferedSource we gain
a lot of performance as it uses a Java PushbackReader and BufferedReader.
Attributes
def getFileTree(rootPath: Path, config: Config, extensions: List[String], filterIgnoredFiles: Boolean): List[Path]