goloc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCloc

type GCloc struct {
	Repopath string
	// contains filtered or unexported fields
}

func NewGCloc

func NewGCloc(params Params, languages language.Languages) (*GCloc, error)

func (*GCloc) ChangeLanguages

func (gc *GCloc) ChangeLanguages(languages language.Languages)

func (*GCloc) Run

func (gc *GCloc) Run() error

type Params

type Params struct {
	Path              string
	ByFile            bool
	ExcludePaths      []string
	ExcludeExtensions []string
	IncludeExtensions []string
	OrderByLang       bool
	OrderByFile       bool
	OrderByCode       bool
	OrderByLine       bool
	OrderByBlank      bool
	OrderByComment    bool
	Order             string
	OutputName        string
	OutputPath        string
	ReportFormats     []string
	Branch            string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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