issues

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzerMeta

type AnalyzerMeta struct {
	Shortcode string `json:"analyzer"` // Analyzer shortcode
}

type Issue

type Issue struct {
	IssueText string       `json:"issue_title"` // The describing heading of the issue
	IssueCode string       `json:"issue_code"`  // DeepSource code for the issue reported
	Location  Location     `json:"location"`    // The location data for the issue reported
	Analyzer  AnalyzerMeta // The Analyzer which raised the issue
}

type Location

type Location struct {
	Path     string   `json:"path"`     // The filepath where the issue is reported
	Position Position `json:"position"` // The position info where the issue is raised
}

type Position

type Position struct {
	BeginLine int `json:"begin"` // The line where the code covered under the issue starts
	EndLine   int `json:"end"`   // The line where the code covered under the issue starts
}

Directories

Path Synopsis
Lists the issues reported in a single file mentioned by the user
Lists the issues reported in a single file mentioned by the user

Jump to

Keyboard shortcuts

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