utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckWorkspace

func CheckWorkspace(base string) error

CheckWorkspace returns an error if qlt.conf.json or codeql-workspace.yml does not exist under base. All phase subcommands except init call this (via PersistentPreRunE) before running.

func CopyDir

func CopyDir(src, dst string) error

CopyDir recursively copies src to dst, preserving symlinks.

func CopyFile

func CopyFile(src, dst string, mode os.FileMode) error

Types

type CommonFlags added in v0.1.1

type CommonFlags struct {
	Packs      []string
	NumThreads int
	CodeQLArgs string
}

CommonFlags holds flags shared across most phase subcommands. Populated by persistent flags on the parent and read by each subcommand.

Jump to

Keyboard shortcuts

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