cmdutil

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Black colorFunction = color.New(color.FgBlack).SprintFunc()
View Source
var Bold colorFunction = color.New(color.Bold).SprintFunc()
View Source
var CMDUILogger *log.Logger
View Source
var Cyan colorFunction = color.New(color.FgCyan).SprintFunc()
View Source
var Yellow colorFunction = color.New(color.FgYellow).SprintFunc()

Functions

func EnableLogger

func EnableLogger()

func FilterFileSize

func FilterFileSize(inFiles []string, maxSize int) (outFiles []string)

func FilterWithExcludePattern

func FilterWithExcludePattern(inFiles []string, excludePattern []string) (outFiles []string)

func FilterWithIncludePattern

func FilterWithIncludePattern(inFiles []string, excludePattern []string) (outFiles []string)

func FormatVectorToClickable

func FormatVectorToClickable(embedding *actionpb.Embedding) string

func GetTzapFromContext

func GetTzapFromContext(ctx context.Context) *tzap.Tzap

func SearchForTzapincludeAndGetRootDir

func SearchForTzapincludeAndGetRootDir() (string, error)

func SetTzapInContext

func SetTzapInContext(ctx context.Context, t *tzap.Tzap) context.Context

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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