count

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type File

type File struct {
	AbsPath   string
	Name      string
	Extension string
	Size      int64
	Mode      fs.FileMode
	Line      Line
}

type Line

type Line struct {
	Total   int64
	Blank   int64
	Comment int64
}

type Params

type Params struct {
	Target      string
	IgnoreDfs   []string
	Types       []string
	IgnoreTypes []string
}

type StatisticRow

type StatisticRow struct {
	Extension    string
	Count        int64
	SizeSum      int64
	SizeMin      int64
	SizeMax      int64
	SizeAvg      int64
	Lines        int64
	LinesMin     int64
	LinesMax     int64
	LinesAvg     int64
	LinesCode    int64
	LinesComment int64
	LinesBlank   int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL