Documentation ¶ Overview ¶ Package repodetect resolves a provider.RepoCoord from the cwd's git remote. Used by the inbox flow which has a directory, not a URL. Index ¶ func Detect() (provider.RepoCoord, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Detect ¶ func Detect() (provider.RepoCoord, error) Detect resolves the current working directory's git remote into a RepoCoord. Looks at remote.origin first; falls back to the only remote if origin isn't set; errors on 0 or multiple-non-origin remotes per spec §6. Types ¶ This section is empty. Source Files ¶ View all Source files repodetect.go Click to show internal directories. Click to hide internal directories.