{"id":51974,"library":"shibumi-go-pathspec","title":"go-pathspec","description":"Package pathspec implements git compatible gitignore pattern matching.","status":"active","version":"1.3.0","language":"go","source_language":null,"source_url":"https://github.com/shibumi/go-pathspec","tags":["gitignore","path-matching","git","pattern-matching"],"install":[{"cmd":"go get github.com/shibumi/go-pathspec","lang":"bash","label":"Install github.com/shibumi/go-pathspec"}],"dependencies":[],"imports":[{"symbol":"pathspec","correct":"github.com/shibumi/go-pathspec"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/shibumi/go-pathspec\"\n)\n\nfunc main() {\n\tps := pathspec.NewGitIgnore(\".gitignore\")\n\tfmt.Println(ps.Match(\"foo.txt\"))\n}","lang":"go","description":"Match a file path against a .gitignore pattern."},"warnings":[],"env_vars":null,"search_vec":"'compat':8 'git':7,16 'gitignor':9,12 'go':2 'go-pathspec':1 'implement':6 'match':11,15,19 'packag':4 'path':14 'path-match':13 'pathspec':3,5 'pattern':10,18 'pattern-match':17","created_at":"2026-06-15T06:36:50.628432+00:00","updated_at":"2026-06-15T06:36:50.628432+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/shibumi/go-pathspec","github":"https://github.com/shibumi/go-pathspec","docs":"https://pkg.go.dev/github.com/shibumi/go-pathspec#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}