{"id":16370772,"url":"https://github.com/integralist/go-findroot","last_synced_at":"2025-03-21T01:31:29.389Z","repository":{"id":57481648,"uuid":"59106800","full_name":"Integralist/go-findroot","owner":"Integralist","description":"Locate the root directory of a project using Git via the command line","archived":false,"fork":false,"pushed_at":"2016-05-18T11:48:14.000Z","size":2,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T01:32:09.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Integralist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-18T10:44:43.000Z","updated_at":"2024-04-18T03:43:24.000Z","dependencies_parsed_at":"2022-09-17T04:21:51.738Z","dependency_job_id":null,"html_url":"https://github.com/Integralist/go-findroot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2Fgo-findroot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2Fgo-findroot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2Fgo-findroot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2Fgo-findroot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Integralist","download_url":"https://codeload.github.com/Integralist/go-findroot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244096964,"owners_count":20397511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T03:05:56.993Z","updated_at":"2025-03-21T01:31:29.072Z","avatar_url":"https://github.com/Integralist.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ego-findroot\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Completed-100%25-green.svg?style=flat-square\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Locate the root directory of a project using Git via the command line\n\u003c/p\u003e\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/integralist/go-findroot/find\"\n)\n\nfunc main() {\n  root, err := find.Repo()\n  if err != nil {\n    log.Fatalf(\"Error: %s\", err.Error())\n  }\n\n  fmt.Printf(\"%+v\", root)\n  // {Name:go-findroot Path:/Users/M/Projects/golang/src/github.com/integralist/go-findroot}\n}\n```\n\n## Tests\n\n```go\ngo test -v ./...\n```\n\n## Licence\n\n[The MIT License (MIT)](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2016 [Mark McDonnell](http://twitter.com/integralist)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegralist%2Fgo-findroot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintegralist%2Fgo-findroot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegralist%2Fgo-findroot/lists"}