BaseReportWriter

class BaseReportWriter(sourceDirectories: Seq[File], outputDir: File, sourceEncoding: Option[String])
class Object
trait Matchable
class Any

Value members

Concrete methods

def relativeSource(src: String): String

Converts absolute path to relative one if any of the source directories is it's parent. If there is no parent directory, the path is returned unchanged (absolute).

Converts absolute path to relative one if any of the source directories is it's parent. If there is no parent directory, the path is returned unchanged (absolute).

Value Params
src

absolute file path in canonical form