sync-worktrees
Version:
Automatically synchronize Git worktrees with remote branches - perfect for multi-branch development workflows
15 lines • 593 B
TypeScript
export interface LfsErrorContext {
isLfsError: boolean;
}
export interface RetryOptions {
maxAttempts?: number | "unlimited";
maxLfsRetries?: number;
initialDelayMs?: number;
maxDelayMs?: number;
backoffMultiplier?: number;
shouldRetry?: (error: unknown, context?: LfsErrorContext) => boolean;
onRetry?: (error: unknown, attempt: number, context?: LfsErrorContext) => void;
lfsRetryHandler?: (context: LfsErrorContext) => void;
}
export declare function retry<T>(fn: () => Promise<T>, options?: RetryOptions): Promise<T>;
//# sourceMappingURL=retry.d.ts.map