Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesLocCounter ¶
type FilesLocCounter struct {
// contains filtered or unexported fields
}
func NewFilesLOCCounter ¶
func NewFilesLOCCounter() *FilesLocCounter
func (*FilesLocCounter) AddFile ¶
func (c *FilesLocCounter) AddFile(path string, file io.Reader) error
func (*FilesLocCounter) GetLOCsForPaths ¶
func (c *FilesLocCounter) GetLOCsForPaths() []LOCForPath
type LOCForPath ¶
type LinesNumber ¶
type LinesNumber = int
type StatTree ¶
type StatTree struct { LOC LinesNumber LOCByLangs map[LangName]LinesNumber Children map[FileName]*StatTree }
func BuildStatTree ¶
func BuildStatTree(locsForPaths []LOCForPath, filter, matcher *string) *StatTree
Click to show internal directories.
Click to hide internal directories.