Versions in this module Expand all Collapse all v0 v0.1.0 Aug 14, 2026 Changes in this version + var Err io.Writer = os.Stderr + var Out io.Writer = os.Stdout + func Blank() + func ColorEnabled() bool + func Hint(format string, args ...any) + func PrintAddResult(r AddResult) + func PrintDeferredFailure(data []byte) error + func PrintDiff(result SyncResult) + func PrintDoctor(result DoctorResult) + func PrintError(err error) + func PrintInitResult(r InitResult) + func PrintList(result ListResult) + func PrintMoveResult(result MoveResult, ok bool) + func PrintPath(p string) + func PrintPull(result PullResult) + func PrintPullGitignoreWarnings(result PullResult) + func PrintPush(result PushResult, auto bool) + func PrintRmConfirmation(view RmConfirmationView) + func PrintRmResult(result RmResult, ok bool) + func PrintStatus(result SyncResult) + func PrintVersion(version string) + func SetColorForTest(t *testing.T, enabled bool) + func SetMode(m Mode) + func SetModeForTest(t *testing.T, m Mode) + func SetNoColor(disabled bool) + func SetUnicodeForTest(t *testing.T, enabled bool) + func Success(format string, args ...any) + func UnicodeEnabled() bool + func Warn(format string, args ...any) + type AddDirResult struct + CentralPath string + Name string + SafetyViolations []AddSafetyViolation + Status AddDirStatus + type AddDirStatus string + const StatusAdded + const StatusAdopted + const StatusAlreadyTracked + const StatusScaffolded + const StatusSkippedSafety + type AddResult struct + CentralRepo string + CommitMessage string + CommitSHA string + Dirs []AddDirResult + ProjectName string + ProjectPath string + ScaffoldRequested bool + SyncBase string + type AddSafetyViolation struct + Kind string + Message string + type DoctorResult struct + Fixed []string + Healthy bool + Status SyncResult + type InitResult struct + CentralPath string + ConfigPath string + HasRemote bool + Recreated bool + type ListResult struct + CentralHead string + CentralRepo string + Rows []ListRow + type ListRow struct + AgentDirs []string + Checkout string + Issues []SyncIssue + Project string + SyncState string + type Mode int + const ModeHuman + const ModeJSON + func GetMode() Mode + 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 + type PathEnvelope struct + Path string + type PullCheckoutResult struct + Dirs []PullDirResult + Error string + 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 string + 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 PullProjectResult struct + Checkouts []PullCheckoutResult + Error string + 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 + type PushCheckoutResult struct + Path string + Status PushStatus + type PushProjectResult struct + Checkouts []PushCheckoutResult + Name string + type PushResult struct + CentralRepo string + CommitMessage string + CommitSHA string + PreviousHead string + Projects []PushProjectResult + type PushStatus string + const PushAdopted + const PushPushed + const PushUnchanged + type RmConfirmationView struct + CentralRepo string + CommitMsg string + Copies []RmCopyResult + ProjectName string + Purge bool + RecoveryCmd string + RefusalNote string + type RmCopyResult struct + Checkout string + Dir string + Issues []SyncIssue + Path string + State SyncState + Status string + type RmResult struct + CentralRepo string + Commit string + CommitMessage string + Copies []RmCopyResult + ProjectName string + Purge bool + RecoveryCmd string + type SyncCheckoutResult struct + BaseStale bool + Dirs []SyncDirResult + Issues []SyncIssue + Path string + State SyncState + SyncBase string + type SyncCounts struct + CentralAhead int + Diverged int + InSync int + ProjectAhead int + type SyncDirResult struct + BaseStale bool + Files []SyncFileResult + Issues []SyncIssue + Name string + State SyncState + type SyncEntry struct + Data []byte + Executable bool + Type SyncEntryType + type SyncEntryType string + const SyncEntryFile + const SyncEntrySymlink + type SyncFileResult struct + Base *SyncEntry + Central *SyncEntry + CentralChange string + Path string + Project *SyncEntry + ProjectChange string + State SyncState + type SyncIssue struct + Kind SyncIssueKind + Message string + Path string + type SyncIssueKind string + const SyncIssueBaseUnreachable + const SyncIssueCentralDirty + const SyncIssueCentralMissing + const SyncIssueConflictMarkers + const SyncIssueConflictSibling + const SyncIssueCopyInvalid + const SyncIssueCopyMissing + const SyncIssueInspectionFailed + const SyncIssueUnsupportedObject + type SyncProjectResult struct + Checkouts []SyncCheckoutResult + Issues []SyncIssue + Name string + type SyncResult struct + CentralHead string + CentralRepo string + Projects []SyncProjectResult + type SyncState string + const SyncCentralAhead + const SyncDiverged + const SyncInSync + const SyncProjectAhead + type VersionEnvelope struct + Version string