Welcome to mirror list, hosted at ThFree Co, Russian Federation.

executor.go « git2go « internal - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 65058d2d2a27ffac4964d08cf7d98edf8db91a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package git2go

// Executor executes gitaly-git2go.
type Executor struct {
	binaryPath    string
	gitBinaryPath string
}

// New returns a new gitaly-git2go executor using the provided binary.
func New(binaryPath, gitBinaryPath string) Executor {
	return Executor{
		binaryPath:    binaryPath,
		gitBinaryPath: gitBinaryPath,
	}
}