1package git
2
3import (
4 "errors"
5
6 git "github.com/aymanbagabas/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 // ErrReferenceNotExist is returned when a reference does not exist.
15 ErrReferenceNotExist = git.ErrReferenceNotExist
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)