mirror of https://github.com/harness/drone.git
Add branch field in search result for each file (#854)
parent
d85ed52bc5
commit
d5176982f5
|
@ -39,11 +39,12 @@ type (
|
|||
}
|
||||
|
||||
FileMatch struct {
|
||||
FileName string `json:"file_name"`
|
||||
RepoID int64 `json:"-"`
|
||||
RepoPath string `json:"repo_path"`
|
||||
Language string `json:"language"`
|
||||
Matches []Match `json:"matches"`
|
||||
FileName string `json:"file_name"`
|
||||
RepoID int64 `json:"-"`
|
||||
RepoPath string `json:"repo_path"`
|
||||
RepoBranch string `json:"repo_branch"`
|
||||
Language string `json:"language"`
|
||||
Matches []Match `json:"matches"`
|
||||
}
|
||||
|
||||
// Match holds the per line data.
|
||||
|
|
Loading…
Reference in New Issue