Skip to content

Commit

Permalink
Merge pull request #481 from Yashsharma1911/yash/makeExtractFuncPublic
Browse files Browse the repository at this point in the history
Make extract URL func public
  • Loading branch information
Yashsharma1911 authored Mar 18, 2024
2 parents 75d94b9 + eb916c1 commit e7c16ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generators/github/git_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ func (gr GitRepo) extractRepoDetailsFromSourceURL() (owner, repo, branch, root s
return
}

func (gr GitRepo) ExtractRepoDetailsFromSourceURL() (owner, repo, branch, root string, err error) {
return gr.extractRepoDetailsFromSourceURL()
}

func fileInterceptor(br *bufio.Writer) walker.FileInterceptor {
return func(file walker.File) error {
tempPath := filepath.Join(os.TempDir(), utils.GetRandomAlphabetsOfDigit(5))
Expand Down

0 comments on commit e7c16ce

Please sign in to comment.