buddy-bot
Version:
Automated & optimized dependency updates for JavaScript & TypeScript projects. Like Renovate & Dependabot.
11 lines • 429 B
TypeScript
/**
* Compare generated file updates with the current content on a branch.
* Returns true if any file differs, false if all are identical.
*
* It first tries branchName:path locally, then origin/branchName:path.
*/
export declare function hasBranchDifferences(fileUpdates: SimpleFileUpdate[], branchName: string, cwd?: string): Promise<boolean>;
export declare interface SimpleFileUpdate {
path: string
content: string
}