Documentation ¶ Index ¶ type Info type InfoArgs type License type Process func New() *Process func (s *Process) GetInfo(args InfoArgs) (res Info, skipReason string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Info ¶ type Info struct { Language string License *License SkipReason string } type InfoArgs ¶ type InfoArgs struct { FilePath string Lines [][]byte Content []byte } type License ¶ type License struct { Name string Confidence float32 } License holds details about detected license type Process ¶ type Process struct { // contains filtered or unexported fields } func New ¶ func New() *Process func (*Process) GetInfo ¶ func (s *Process) GetInfo(args InfoArgs) (res Info, skipReason string) Source Files ¶ View all Source files fileinfo.go gitignore.go license.go license_enabled.go Click to show internal directories. Click to hide internal directories.