Documentation
¶
Overview ¶
Package gitdiff reads local working-tree changes from git for the `commd review --diff` flow. It shells out to the git binary; paths are always relative to the directory the Repo was opened in.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo runs git commands inside a working tree directory.
func (*Repo) ChangedMarkdownFiles ¶
ChangedMarkdownFiles lists .md files under the repo directory that differ from base in the working tree, plus untracked .md files. Deleted files are excluded. Paths are relative to the directory Open was called with.
Click to show internal directories.
Click to hide internal directories.