cyclocomplex

package
v0.0.0-...-4acbe92 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: MulanPSL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScanMode_Cc = 1 << iota
	ScanMode_ALL
	ScanMode_File
)

Variables

This section is empty.

Functions

func InjectCycloComplex

func InjectCycloComplex(s *CycloComplex)

func LoadCycloComplex

func LoadCycloComplex() baseiface.ISingleton

Types

type CycloComplex

type CycloComplex struct {
	basedto.BaseEntitySingle
	Dirs             []string
	Report           []string
	Rootdir, DestDir string
	Cmd              string
	Cmds             []string

	ScanMode int
	// contains filtered or unexported fields
}

func FindBeanCycloComplex

func FindBeanCycloComplex() *CycloComplex

func NewCycloComplex

func NewCycloComplex() *CycloComplex

func (*CycloComplex) CcCheckAllScan

func (cc *CycloComplex) CcCheckAllScan(topNums ...int)

func (*CycloComplex) CcCheckFileScan

func (cc *CycloComplex) CcCheckFileScan(file string, topNums ...int) error

func (*CycloComplex) CcCheckScan

func (cc *CycloComplex) CcCheckScan(topNums ...int)

func (*CycloComplex) CcMkdir

func (cc *CycloComplex) CcMkdir()

func (*CycloComplex) Ccrmdir

func (cc *CycloComplex) Ccrmdir()

func (*CycloComplex) ExecScanCmd

func (cc *CycloComplex) ExecScanCmd()

func (*CycloComplex) ExistGoFiles

func (this *CycloComplex) ExistGoFiles(dirPath string) (bool, error)

func (*CycloComplex) FindDirs

func (cc *CycloComplex) FindDirs(rootdir string) error

func (*CycloComplex) Scan

func (cc *CycloComplex) Scan() ([]string, error)

func (*CycloComplex) ScanAll

func (cc *CycloComplex) ScanAll() ([]string, error)

func (*CycloComplex) ScanFile

func (cc *CycloComplex) ScanFile(file string) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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