summaryrefslogtreecommitdiff
path: root/lib/git/git_example_test.go
AgeCommit message (Collapse)Author
2026-01-06lib/git: implement Equaler interface on GitShulhan
The Equaler interface provide the method Equal that when implemented can be used to compare two instances of struct.
2026-01-06lib/git: add Git type with method IsIgnoredShulhan
The Git type is for working with single git repository. The [Git.IsIgnored] method is to check if the `path` is ignored by git. This is processed by matching it with all of the pattern in the ".gitignore" file from the path directory and its parent until the root of Git repository.