Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyFile = errors.New("empty file")
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct {
// Files count in this stat.
Files int
// Binary file count.
Binary int
// Size in bytes of all files.
Size memory.Bytes
// Count of non-empty lines.
Lines int
// Count of empty lines.
Blank int
}
Source contains basic analysis of arbitrary source code.
func SourceFromBytes ¶
func SourceFromPath ¶
Click to show internal directories.
Click to hide internal directories.