Involved Source Files Package jjvcs implements the vcs.VCS interface using the Jujutsu (jj) CLI
with isolated temporary workspaces via "jj workspace add".repo.gosession.go
Package-Level Type Names (total 4, in which 2 are exported)
/* sort exporteds by: | */
Config holds Jujutsu-specific options decoded from goship.json’s "vcs" object. Annotated creates annotated Git tags in the underlying Git store when
true (default true) or lightweight tags when false. GitProgram overrides the git executable name or path passed to
exec.LookPath when writing or pushing tags in the underlying Git store
(default "git"). Program overrides the jj executable name or path passed to exec.LookPath
(default "jj"). Sign signs Git tag objects when true.( Config) isAnnotated() bool
func Open(ctx context.Context, dir string, cfg Config) (vcs.VCS, error)
func Opener(cfg Config) vcs.Opener
Repo implements vcs.VCS for a Jujutsu repository.cfgConfiggitDirstringgitProgramstringprogramstringrootstring Begin creates an isolated temporary Jujutsu workspace rooted at rev.ID. ChangedFiles returns repo-relative slash paths changed between baseRev and
targetRev under dir. Export extracts the tracked tree at rev into destDir using a single
"git archive" invocation against the underlying Git store. ListFiles returns all tracked files at rev under dir. Name returns "jj". Push pushes the bookmark via jj git push and tags via git push. PushHint formats a jj git push command hint. ReadFile returns the contents of slashPath at rev. ResolveRev resolves rev ("" defaults to "@"). Root returns the absolute path to the repository root. Tags returns all tags in the repository.
*Repo : go.pact.im/x/goship/internal/vcs.Exporter
*Repo : go.pact.im/x/goship/internal/vcs.VCS