Description

FromDir inspects dir and its parents to determine the version control system and code repository to use. On return, root is the import path corresponding to the root of the repository.

FromDir is referenced in 4 repositories

github.com/golang/tools github.com/shurcooL/Go-Package-Store github.com/client9/gosupplychain

...