Versions in this module Expand all Collapse all v0 v0.14.0 Oct 12, 2026 v0.13.0 Sep 23, 2026 Changes in this version + func IsGitRepo(dir string) bool + type ChangeStatus int + const StatusAdded + const StatusBinary + const StatusDeleted + const StatusModified + const StatusRenamed + const StatusUntracked + type DeletedLine struct + Content string + OldLineNum int + type DiffInfo struct + ChangedLines map[int]bool + DeletedAfter map[int][]DeletedLine + func DiffFile(dir, path, ref string) (*DiffInfo, error) + type FileChange struct + OldPath string + Path string + Status ChangeStatus + func ChangedFiles(dir string) ([]FileChange, error) + func ChangedFilesFrom(dir, ref string) ([]FileChange, error)