Documentation
¶
Overview ¶
Package commitmsg has an agent write a commit message for what a checkout's index holds, by running a provider's CLI once outside any session.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service writes commit messages.
func (*Service) GitWriteMessage ¶
func (s *Service) GitWriteMessage(ctx context.Context, opts api.GitWriteMessageOptions) (api.GitWrittenMessage, error)
GitWriteMessage asks the provider of session opts.SessionID, or the default one with none, for a message for what the index holds.