package gitStats
- Alphabetic
- By Inheritance
- gitStats
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class Commit (added: Int, deleted: Int, fileName: String = "", language: String = Commit.unknownLanguage)(implicit config: ConfigGitStats) extends Product with Serializable
- case class Commits (value: List[Commit])(implicit config: ConfigGitStats) extends Product with Serializable
-
case class
ConfigGitStats
(dateFrom: Option[github.nscala_time.time.Imports.DateTime] = None, dateTo: Option[github.nscala_time.time.Imports.DateTime] = None, directoryName: String = sys.props("user.dir"), excelFileName: Option[String] = None, verbose: Boolean = false, ignoredFileTypes: List[String] = ..., ignoredSubDirectories: List[String] = List("node_modules").sorted, onlyKnown: Boolean = false, output: Boolean = false, subtotals: Boolean = false) extends Product with Serializable
Configuration value object for this app.
Configuration value object for this app.
- dateFrom
If specified, earliest date to process commits, otherwise there is no lower limit
- dateTo
If specified, latest date to process commits, otherwise there is no upper limit
- directoryName
Top of git directory tree
- excelFileName
output to an Excel file with the given name instead of an UTF-8 table
- ignoredFileTypes
List of file types to ignore when processing the git commit log
- ignoredSubDirectories
List of subdirectories to ignore when processing the git commit log
- onlyKnown
If a file type is not hard-coded in the filetype match statement, do not process it.
- output
Show output of OS commands
- subtotals
Set to see per-repo statistics as well as the grand totals
-
class
ExcelOutput
extends AnyRef
Only processes summary table
- class LanguageTotals extends AnyRef
-
class
Repo
extends AnyRef
Process repo at directory
dir - implicit final class RichFile extends AnyVal
Value Members
-
def
getOutputFrom(cwd: File, cmd: String*)(implicit config: ConfigGitStats): String
- Annotations
- @inline()
- lazy val gitProgram: String
-
def
gitProjectsUnder(file: File)(implicit config: ConfigGitStats): List[File]
Handles special case where file points to a git directory, as well os a directory of git directories
Handles special case where file points to a git directory, as well os a directory of git directories
- returns
List[File] where each item is the root of a git repo's directory tree
- lazy val isWindows: Boolean
- val logger: Logger
-
lazy val
os: String
- Attributes
- protected
-
def
run(cwd: File, cmd: String*)(implicit config: ConfigGitStats): ProcessBuilder
- Annotations
- @inline()
-
def
which(program: String): Option[Path]
- Attributes
- protected
-
def
whichOrThrow(program: String): Path
- Attributes
- protected
- Annotations
- @inline()
- object AsciiWidgets
- object Commit extends Serializable
- object ConfigGitStats extends Serializable
-
object
LanguageTotals
- Attributes
- protected
- object RichFile