gitutil

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectWorktreeGitDir

func DetectWorktreeGitDir(cwd string) (string, bool)

DetectWorktreeGitDir returns the main .git directory path when cwd is a git worktree, and ("", false) otherwise or on any error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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