excel

package
v0.0.0-...-1fab135 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectBranchInfo

func CollectBranchInfo(basePath string, logger *logger.Logger) ([]structs.BranchInfo, error)

func CollectBranchInfoForOneRepo

func CollectBranchInfoForOneRepo(logger *logger.Logger, branchesInfo []structs.BranchInfo, path string) ([]structs.BranchInfo, error)

func CreateExcelFile

func CreateExcelFile(Branches []structs.BranchInfo) (*excelize.File, error)

func GetCPU

func GetCPU(filePath string) int

GetCPU reads the .config file and extracts the number of threads to use

func ReadConfig

func ReadConfig(filePath string) (map[string][]string, error)

func ReadNameReplacement

func ReadNameReplacement(filePath string) (map[string]string, error)

ReadNameReplacement reads the .config file and extracts name replacements from the DEVELOPERS_MAP line

func ReadWorkspaceName

func ReadWorkspaceName(filePath string) (string, error)

ReadWorkspaceName reads the .secrets file and extracts the BITBUCKET_WORKSPACE value

func RemoveAccentsAndSpecialChars

func RemoveAccentsAndSpecialChars(s string) string

func ReportExcel

func ReportExcel(basePath string) error

func SaveExcelFile

func SaveExcelFile(f *excelize.File, basePath string, logger *logger.Logger) error

func WriteBranchInfoToExcel

func WriteBranchInfoToExcel(f *excelize.File, allBranches, mainBranches, developBranches []structs.BranchInfo) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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