Documentation
¶
Index ¶
- func NewShell(details tea.Model) tea.Model
- type JJCommands
- func (t *JJCommands) Abandon(revision string) jj.Command
- func (t *JJCommands) DeleteBookmark(bookmark string) jj.Command
- func (t *JJCommands) Diff(revision string, fineName string) jj.Command
- func (t *JJCommands) DiffEdit(revision string) jj.Command
- func (t *JJCommands) Edit(revision string) jj.Command
- func (t *JJCommands) ExpectRestore(tt *testing.T, revision string, files []string) *MockedCommand
- func (t *JJCommands) ExpectSetBookmark(tt *testing.T, revision string, name string) *MockedCommand
- func (t *JJCommands) ExpectSetDescription(tt *testing.T, rev string, description string) *MockedCommand
- func (t *JJCommands) ExpectSplit(tt *testing.T, revision string, files []string) *MockedCommand
- func (t *JJCommands) ExpectStatus(tt *testing.T, revision string) *MockedCommand
- func (t *JJCommands) GetCommits(revset string) ([]jj.GraphRow, error)
- func (t *JJCommands) GetConfig(key string) ([]byte, error)
- func (t *JJCommands) GitFetch() jj.Command
- func (t *JJCommands) GitPush() jj.Command
- func (t *JJCommands) ListBookmark(revision string) jj.Command
- func (t *JJCommands) MoveBookmark(revision string, bookmark string) jj.Command
- func (t *JJCommands) New(from string) jj.Command
- func (t *JJCommands) RebaseBranchCommand(from string, to string) jj.Command
- func (t *JJCommands) RebaseCommand(from string, to string) jj.Command
- func (t *JJCommands) Restore(revision string, files []string) jj.Command
- func (t *JJCommands) SetBookmark(revision string, name string) jj.Command
- func (t *JJCommands) SetDescription(rev string, description string) jj.Command
- func (t *JJCommands) Split(revision string, files []string) jj.Command
- func (t *JJCommands) Squash(from string, destination string) jj.Command
- func (t *JJCommands) Status(revision string) jj.Command
- func (t *JJCommands) Undo() jj.Command
- func (t *JJCommands) Verify(tt *testing.T)
- type MockedCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JJCommands ¶
type JJCommands struct {
// contains filtered or unexported fields
}
func NewJJCommands ¶
func NewJJCommands() *JJCommands
func (*JJCommands) DeleteBookmark ¶
func (t *JJCommands) DeleteBookmark(bookmark string) jj.Command
func (*JJCommands) ExpectRestore ¶
func (t *JJCommands) ExpectRestore(tt *testing.T, revision string, files []string) *MockedCommand
func (*JJCommands) ExpectSetBookmark ¶
func (t *JJCommands) ExpectSetBookmark(tt *testing.T, revision string, name string) *MockedCommand
func (*JJCommands) ExpectSetDescription ¶
func (t *JJCommands) ExpectSetDescription(tt *testing.T, rev string, description string) *MockedCommand
func (*JJCommands) ExpectSplit ¶
func (t *JJCommands) ExpectSplit(tt *testing.T, revision string, files []string) *MockedCommand
func (*JJCommands) ExpectStatus ¶
func (t *JJCommands) ExpectStatus(tt *testing.T, revision string) *MockedCommand
func (*JJCommands) GetCommits ¶
func (t *JJCommands) GetCommits(revset string) ([]jj.GraphRow, error)
func (*JJCommands) GitFetch ¶
func (t *JJCommands) GitFetch() jj.Command
func (*JJCommands) GitPush ¶
func (t *JJCommands) GitPush() jj.Command
func (*JJCommands) ListBookmark ¶
func (t *JJCommands) ListBookmark(revision string) jj.Command
func (*JJCommands) MoveBookmark ¶
func (t *JJCommands) MoveBookmark(revision string, bookmark string) jj.Command
func (*JJCommands) RebaseBranchCommand ¶
func (t *JJCommands) RebaseBranchCommand(from string, to string) jj.Command
func (*JJCommands) RebaseCommand ¶
func (t *JJCommands) RebaseCommand(from string, to string) jj.Command
func (*JJCommands) Restore ¶
func (t *JJCommands) Restore(revision string, files []string) jj.Command
func (*JJCommands) SetBookmark ¶
func (t *JJCommands) SetBookmark(revision string, name string) jj.Command
func (*JJCommands) SetDescription ¶
func (t *JJCommands) SetDescription(rev string, description string) jj.Command
func (*JJCommands) Undo ¶
func (t *JJCommands) Undo() jj.Command
func (*JJCommands) Verify ¶
func (t *JJCommands) Verify(tt *testing.T)
type MockedCommand ¶
func (*MockedCommand) Args ¶
func (m *MockedCommand) Args() []string
func (*MockedCommand) CombinedOutput ¶
func (m *MockedCommand) CombinedOutput() ([]byte, error)
func (*MockedCommand) GetCommand ¶
func (m *MockedCommand) GetCommand() *exec.Cmd
Click to show internal directories.
Click to hide internal directories.