Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InferCommit ¶
InferCommit gets a 40-character rev hash from the git clone enclosing the working dir.
func InferRepo ¶
InferRepo gets a Sourcegraph-friendly repo name from the git clone enclosing the working dir.
func InferRoot ¶
InferRoot gets the path relative to the root of the git clone enclosing the given file path.
func SanitizeRoot ¶
SanitizeRoot removes redundant paths from the given root and replaces references to the root of th repo with an empty string.
func UploadIndex ¶
func UploadIndex(opts UploadIndexOpts) (string, error)
Types ¶
type UploadIndexOpts ¶
type UploadIndexOpts = codeintelutils.UploadIndexOpts
Click to show internal directories.
Click to hide internal directories.