Versions in this module Expand all Collapse all v0 v0.1.0 Aug 14, 2026 Changes in this version + func OfferPullGitignoreFixes(result *PullResult) + func Path(projectName, dirName string) (string, error) + func PathRepo() (string, error) + func ValidateProjectName(name, source string) error + type AddOptions struct + Create bool + Dirs []string + Name string + ProjectPath string + type AddResult struct + CentralRepo string + CommitMessage string + CommitSHA string + Dirs []AgentDirResult + ProjectName string + ProjectPath string + ScaffoldRequested bool + SyncBase string + func Add(opts AddOptions) (AddResult, error) + func (r AddResult) AllAlreadyTracked() bool + type AgentDirResult struct + CentralPath string + Name string + Status DirStatus + Violations []detect.Violation + type CheckoutStatus struct + BaseStale bool + Dirs []DirSyncStatus + Issues []reconcile.Issue + Path string + State reconcile.SyncState + SyncBase string + type DirStatus string + const StatusAdded + const StatusAdopted + const StatusAlreadyTracked + const StatusScaffolded + const StatusSkippedSafety + type DirSyncStatus struct + BaseStale bool + Files []reconcile.FileResult + Issues []reconcile.Issue + Name string + State reconcile.SyncState + type DoctorResult struct + Fixed []string + Healthy bool + Status StatusResult + func Doctor(fix bool) (DoctorResult, error) + type ListResult struct + CentralHead string + CentralRepo string + Rows []ListRow + func List() (ListResult, error) + type ListRow struct + AgentDirs []string + Issues []reconcile.Issue + Name string + Path string + State string + type MoveCheckoutResult struct + OldPath string + Path string + SyncBase string + type MoveResult struct + CentralOnly bool + CentralRepo string + Checkouts []MoveCheckoutResult + Commit string + CommitMessage string + OldName string + ProjectName string + func Move(old, newName, newPath string) (MoveResult, error) + type ProjectStatus struct + Checkouts []CheckoutStatus + Issues []reconcile.Issue + Name string + type PullCheckoutResult struct + Dirs []PullDirResult + Err error + Path string + Status PullCheckoutStatus + SyncBase string + type PullCheckoutStatus string + const PullCheckoutAdopted + const PullCheckoutCentralForced + const PullCheckoutConflicted + const PullCheckoutFailed + const PullCheckoutMaterialized + const PullCheckoutMerged + const PullCheckoutProjectAhead + const PullCheckoutProjectForced + const PullCheckoutRefused + const PullCheckoutUnchanged + const PullCheckoutUpdated + type PullConflictResult struct + Kind reconcile.ConflictKind + Path string + SiblingPath string + type PullDirResult struct + Conflicts []PullConflictResult + Name string + Path string + Status PullDirStatus + Unignored bool + type PullDirStatus string + const PullDirCentralForced + const PullDirConflicted + const PullDirKeepBoth + const PullDirMaterialized + const PullDirMerged + const PullDirProjectAhead + const PullDirProjectForced + const PullDirUnchanged + const PullDirUpdated + type PullOptions struct + All bool + Central bool + Name string + Path string + Project bool + type PullProjectResult struct + Checkouts []PullCheckoutResult + Err error + Matches []string + Name string + Status PullProjectStatus + type PullProjectStatus string + const PullProjectAmbiguous + const PullProjectConflicted + const PullProjectFailed + const PullProjectMissing + const PullProjectPulled + const PullProjectRefused + const PullProjectUnchanged + type PullResult struct + CentralHead string + CentralRepo string + Projects []PullProjectResult + ScannedRoots []string + func Pull(opts PullOptions) (PullResult, error) + func (result PullResult) HasConflicts() bool + type PushCheckoutResult struct + Path string + Status PushStatus + type PushOptions struct + Project string + ProjectFromCWD bool + type PushProjectResult struct + Checkouts []PushCheckoutResult + Name string + type PushResult struct + CentralRepo string + CommitMessage string + CommitSHA string + PreviousHead string + Projects []PushProjectResult + ScopeProject string + func Push(opts PushOptions) (PushResult, error) + type PushStatus string + const PushAdopted + const PushPushed + const PushUnchanged + type RmCopyResult struct + Checkout string + Dir string + Issues []reconcile.Issue + Path string + State reconcile.SyncState + Status RmCopyStatus + type RmCopyStatus string + const RmCopyKept + const RmCopyMissing + const RmCopyPurged + type RmPlan struct + CentralRepo string + CommitMsg string + Copies []RmCopyResult + Force bool + ProjectName string + Purge bool + RecoveryCmd string + RefusalErr error + func PreflightRm(name string, purge bool, force bool) (*RmPlan, error) + func (p *RmPlan) Close() + type RmResult struct + CentralRepo string + Commit string + CommitMessage string + Copies []RmCopyResult + ProjectName string + Purge bool + RecoveryCmd string + func Remove(plan *RmPlan) (RmResult, error) + type StatusResult struct + CentralHead string + CentralRepo string + Projects []ProjectStatus + func Diff(projectName string) (StatusResult, error) + func Status(projectName string) (StatusResult, error) + func (r StatusResult) HasIssues() bool + func (r StatusResult) Unhealthy() bool