MCPcopy
hub / github.com/google/git-appraise / GetSubmitStrategy

Method GetSubmitStrategy

repository/git.go:170–173  ·  view source on GitHub ↗

GetSubmitStrategy returns the way in which a review is submitted

()

Source from the content-addressed store, hash-verified

168
169// GetSubmitStrategy returns the way in which a review is submitted
170func (repo *GitRepo) GetSubmitStrategy() (string, error) {
171 submitStrategy, _ := repo.runGitCommand("config", "appraise.submit")
172 return submitStrategy, nil
173}
174
175// HasUncommittedChanges returns true if there are local, uncommitted changes.
176func (repo *GitRepo) HasUncommittedChanges() (bool, error) {

Callers

nothing calls this directly

Calls 1

runGitCommandMethod · 0.95

Tested by

no test coverage detected