Documentation
¶
Overview ¶
Package stub is the GitClient that touches nothing: every listing is empty, nothing has changed, and no directory is a repository.
Index ¶
- type Client
- func (Client) ChangedSince(context.Context, string, string) ([]string, error)
- func (Client) Diff(context.Context, string, ...string) ([]byte, error)
- func (Client) HasPathsChanged(context.Context, string, string, string, []string) (bool, error)
- func (Client) IsRepo(context.Context, string) bool
- func (Client) LsFiles(context.Context, string, []string) ([]string, error)
- func (Client) RevParse(_ context.Context, _, ref string) (string, error)
- func (Client) StageFiles(context.Context, string, []string) error
- func (Client) StagedFiles(context.Context, string, []string) ([]string, error)
- func (Client) Tag(context.Context, string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
Client is the stub GitClient.
func (Client) ChangedSince ¶
ChangedSince returns none.
func (Client) HasPathsChanged ¶
HasPathsChanged reports no change.
func (Client) StageFiles ¶
StageFiles does nothing.
func (Client) StagedFiles ¶
StagedFiles returns none.
Click to show internal directories.
Click to hide internal directories.