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

gitcmd

package
v1.34.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListGitFiles

func ListGitFiles(workDir string) ([]string, error)

ListGitFiles runs "git ls-files" to list all files in a Git workdir including modified and untracked files, but not including deleted files.

Returns the paths in ascending sorted order, with format "dir/file.txt".

Types

This section is empty.

Jump to

Keyboard shortcuts

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