Versions in this module Expand all Collapse all v0 deprecated v0.17.0 Oct 3, 2026 Changes in this version + const CodeCommandFailed + const CodePathAbsent + const CodeRepositoryUnresolved + func GitDir(ctx context.Context, root string) (gitDir string, err error) + func ShowFile(ctx context.Context, repoRoot, sha, relPath string) (content string, err error) + type ChangedSet = coregit.ChangedSet + type Config = svcgit.Config + type HeadState = svcgit.HeadValue + func Head(ctx context.Context, dir string) (head HeadState, err error) + type Include = svcgit.IncludeFunc + type LineRange = coregit.LineRangeValue + type Resolution = coregit.ResolutionValue + func Resolve(ctx context.Context, cfg Config) Resolution Other modules containing this package github.com/kitsunium/sdk