Documentation ¶
Index ¶
- Constants
- func CreateMockBlame(textBytes []byte) git.BlameResult
- func ExtractDate(dateStr string) (time.Time, error)
- func GetGitLines(t *testing.T, numOfLines int) []*git.Line
- func SetupBlame(t *testing.T) gitservice.GitBlame
- func SetupBlameResults(t *testing.T, path string, numOfLines int) *git.BlameResult
Constants ¶
View Source
const CommitHash1 = "47accf06f13b503f3bab06fed7860e72f7523cac"
View Source
const CommitHash2 = "b2dc884b7439882c4dbe1e660cb1e02a3f84e45d"
View Source
const FilePath = "README.md"
View Source
const Org = "bridgecrewio"
View Source
const Repository = "terragoat"
Variables ¶
This section is empty.
Functions ¶
func CreateMockBlame ¶
func CreateMockBlame(textBytes []byte) git.BlameResult
func GetGitLines ¶
func SetupBlame ¶
func SetupBlame(t *testing.T) gitservice.GitBlame
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.