Versions in this module Expand all Collapse all v0 v0.30.1 Oct 30, 2026 Changes in this version + func Action(ctx context.Context, deps Deps, opts Options) error + type BranchInfo struct + Children []string + IsFixed bool + IsTracked bool + IsTrunk bool + MetadataRefSHA string + Name string + PRInfo *engine.PrInfo + Parent string + ParentRevision string + SHA string + type CommandSnapshot struct + Args []string + Command string + CurrentBranch string + Timestamp time.Time + type ContinuationStateInfo struct + BranchesToRestack []string + BranchesToSync []string + CurrentBranchOverride string + ExpectedBranchRevision string + RebasedBranchBase string + type Deps struct + Engine Engine + Out output.Output + RepoRoot string + type Engine interface + AllBranches func() engine.Branches + BatchReadMetadataRaw func(ctx context.Context, branchNames []string) (engine.MetaMap, map[string]error) + BatchRevisions func(ctx context.Context, branches engine.Branches) engine.RevisionMap + CurrentBranch func(ctx context.Context) *engine.Branch + EnsureRemoteMetadata func(ctx context.Context) error + GetBranch func(branchName string) engine.Branch + GetRemoteURL func(ctx context.Context) (string, error) + Graph func(ctx context.Context, strategy engine.SortStrategy) *engine.StackGraph + IsRemoteSyncEnabled func(ctx context.Context) bool + ListMetadataRefs func(ctx context.Context) (map[string]string, error) + LoadRemoteMetadataCache func(ctx context.Context) error + LoadSnapshot func(snapshotID string) (*engine.Snapshot, error) + ReadBranchStatuses func(ctx context.Context, branches engine.Branches) engine.BranchStatuses + RemoteMetadataCache func() engine.RemoteMetadataView + Snapshots func() ([]engine.SnapshotInfo, error) + Trunk func() engine.Branch + type Info struct + ContinuationState *ContinuationStateInfo + RecentCommands []CommandSnapshot + RemoteMetadataState *RemoteMetadataStateInfo + RepositoryInfo RepositoryInfo + StackState StackStateInfo + Timestamp time.Time + type MetadataDiffInfo struct + Branch string + DiffFields []string + LocalValue string + RemoteValue string + type Options struct + Limit int + ShowRemote bool + type RemoteMetadataStateInfo struct + LocalVsRemoteDiffs []MetadataDiffInfo + RemoteRefs map[string]RemoteRefInfo + RemoteStateAvailable bool + type RemoteRefInfo struct + LastModified string + ModifiedBy string + SHA string + Scope string + type RepositoryInfo struct + RemoteURL string + RepoRoot string + type StackStateInfo struct + Branches []BranchInfo + CurrentBranch string + Trunk string