serviceutil

package
v0.0.0-...-bc1001e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitRelWorkdir

func GitRelWorkdir() (string, error)

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/reviewdog/reviewdog/issues/1158

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL