UNPKG

no-migration

Version:

CLI tool to manage migration changes and user changes separately for React Native miniapp projects

23 lines 813 B
export declare class DiffHelper { /** * Compare two file contents and extract only the differences that are in current but not in baseline * This is used to separate user changes from migration changes */ static separateUserChanges(baselineContent: string, migrationContent: string, currentContent: string): { userContent: string; migrationOnlyContent: string; }; /** * Check if a diff part exists in another diff */ private static isPartInDiff; /** * Apply patch to content */ static applyPatch(baseContent: string, patch: string): string | null; /** * Create patch from two contents */ static createPatch(fileName: string, oldContent: string, newContent: string): string; } //# sourceMappingURL=diffHelper.d.ts.map