Documentation
¶
Index ¶
- func ReadFilesAsLines(workingDir string, files []string) ([]string, error)
- type GitIgnore
- func AppendIgnoreFile(gi *GitIgnore, path string) (*GitIgnore, error)
- func AppendIgnoreFileList(gi *GitIgnore, workingDir string, fileList []string) (*GitIgnore, error)
- func AppendIgnoreLines(gi *GitIgnore, lines ...string) (*GitIgnore, error)
- func AppendIgnoreText(gi *GitIgnore, text string) (*GitIgnore, error)
- func CompileIgnoreFile(path string) (*GitIgnore, error)
- func CompileIgnoreLines(lines ...string) (*GitIgnore, error)
- func CompileIgnoreText(text string) (*GitIgnore, error)
- func GenerateIntegratedGitIgnore(workingDir string, gitignorePath string, additionallyFileList []string) *GitIgnore
- func NewGitignore(workingDir string, fileList []string) (*GitIgnore, error)
- func NewPlainIgnoreRule() *GitIgnore
- type IgnorePattern
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitIgnore ¶
type GitIgnore struct {
// contains filtered or unexported fields
}
func AppendIgnoreFileList ¶
func CompileIgnoreFile ¶
func CompileIgnoreLines ¶
func CompileIgnoreText ¶
func NewPlainIgnoreRule ¶
func NewPlainIgnoreRule() *GitIgnore
func (*GitIgnore) MatchesPathHow ¶
func (gi *GitIgnore) MatchesPathHow(path string) (bool, *IgnorePattern)
Click to show internal directories.
Click to hide internal directories.