aboutsummaryrefslogtreecommitdiff
path: root/lib/git/testdata/IsIgnored/foo/hello.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-02 00:29:23 +0700
committerShulhan <ms@kilabit.info>2026-01-06 14:56:07 +0700
commit988ff4596d6fb600d0c94aeed41b5b17f1677032 (patch)
tree5025b84a976cdef093e39c67ecdca7394127e029 /lib/git/testdata/IsIgnored/foo/hello.go
parent2d18ac7fd9f8ddc92ddfb7de772adea8468ac3ea (diff)
downloadpakakeh.go-988ff4596d6fb600d0c94aeed41b5b17f1677032.tar.xz
lib/git: implement Gitignore
Gitignore is a type that represent ".gitignore" file. There are two ways to populate Gitignore, by using [LoadGitignore] function, or by using [Gitignore.Parse] method. After the Gitignore created, one can check if a path is ignored by using [Gitignore.IsIgnored] method, relative to the Gitignore directory.
Diffstat (limited to 'lib/git/testdata/IsIgnored/foo/hello.go')
0 files changed, 0 insertions, 0 deletions