Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitRelWorkdir ¶
GitRelWorkdir returns git relative workdir of current directory.
It should return the same output as `git rev-parse --show-prefix`. It does not execute `git` command to avoid needless git binary dependency.
An example problem due to `git` command dependency: https://github.com/mistwind/reviewdog/issues/1158
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.