Help us shape the future of Go! Take the 2026 Go Developer Survey

gitmeta

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Available

func Available(root string) bool

Available reports whether git is installed and root is inside a work tree.

func LastUpdated

func LastUpdated(root, relpath string) (string, error)

LastUpdated returns the authored date of the most recent commit touching relpath, as YYYY-MM-DD.

func Owner

func Owner(root, relpath string) (string, error)

Owner returns a CODEOWNERS match for relpath, falling back to the blame majority author.

Types

This section is empty.

Jump to

Keyboard shortcuts

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