cmd

package
v0.0.0-...-25f0e8a Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetFiles

func GetFiles(args GetFilesArgs) *getFilesOutput

func GetModifiedFilesRegexpMatches

func GetModifiedFilesRegexpMatches(args GetModifiedFilesRegexpMatchesArgs) *getModifiedFilesRegexpMatchesOutput

Types

type GetFilesArgs

type GetFilesArgs struct {
	RepoURL    string   `json:"repoURL"`
	CommitHash string   `json:"commitHash"`
	FilePaths  []string `json:"filePaths"`
}

type GetModifiedFilesPattern

type GetModifiedFilesPattern struct {
	FilePathPatterns   []string `json:"filePathPatterns"`
	FileContentPattern string   `json:"fileContentPattern,omitempty"`
}

type GetModifiedFilesRegexpMatchesArgs

type GetModifiedFilesRegexpMatchesArgs struct {
	RepoURL     string                             `json:"repoURL"`
	CommitHash1 string                             `json:"commitHash1"`
	CommitHash2 string                             `json:"commitHash2"`
	Patterns    map[string]GetModifiedFilesPattern `json:"patterns"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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