Documentation
¶
Index ¶
- func Directory(ctx context.Context, dir string) (string, error)
- type DiffMode
- type Repository
- func (r *Repository) Command(ctx context.Context, args ...string) (output []byte, err error)
- func (r *Repository) DiffFiles(ctx context.Context, mode DiffMode, paths ...string) (files []string, err error)
- func (r *Repository) Files(ctx context.Context, untracked bool, paths ...string) (files []string, err error)
- func (r *Repository) Ignored(ctx context.Context, path string) bool
- func (r *Repository) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Repository string
func (*Repository) Ignored ¶ added in v0.2.0
func (r *Repository) Ignored(ctx context.Context, path string) bool
func (*Repository) String ¶
func (r *Repository) String() string
Click to show internal directories.
Click to hide internal directories.