1package git
 2
 3import (
 4	"errors"
 5
 6	"github.com/gogs/git-module"
 7)
 8
 9var (
10	// ErrFileNotFound is returned when a file is not found.
11	ErrFileNotFound = errors.New("file not found")
12	// ErrDirectoryNotFound is returned when a directory is not found.
13	ErrDirectoryNotFound = errors.New("directory not found")
14	// ErrReferenceNotFound is returned when a reference is not found.
15	ErrReferenceNotFound = errors.New("reference not found")
16	// ErrRevisionNotExist is returned when a revision is not found.
17	ErrRevisionNotExist = git.ErrRevisionNotExist
18	// ErrNotAGitRepository is returned when the given path is not a Git repository.
19	ErrNotAGitRepository = errors.New("not a git repository")
20)