package jjvcs

Import Path
	go.pact.im/x/goship/internal/vcs/jjvcs (on go.dev)

Dependency Relation
	imports 10 packages, and imported by 2 packages

Involved Source Files Package jjvcs implements the vcs.VCS interface using the Jujutsu (jj) CLI with isolated temporary workspaces via "jj workspace add". repo.go session.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. 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. 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
Package-Level Functions (total 7, in which 2 are exported)
Open locates the Jujutsu repository containing dir.
Opener returns a vcs.Opener for the Jujutsu backend using cfg.
Package-Level Constants (total 3, in which 1 is exported)
Name is the backend identifier for Jujutsu.