sfdx-git-delta
Version:
Generate the sfdx content in source format and destructive change from two git commits
22 lines (21 loc) • 601 B
TypeScript
import type { Config } from '../types/config.js';
import type { SharedFileMetadata } from '../types/metadata.js';
import type { Manifest } from '../types/work.js';
interface DiffResult {
added: Manifest;
deleted: Manifest;
}
interface PrunedContent {
xmlContent: string;
isEmpty: boolean;
}
export default class MetadataDiff {
private config;
private toContent;
private fromContent;
private extractor;
constructor(config: Config, attributes: Map<string, SharedFileMetadata>);
compare(path: string): Promise<DiffResult>;
prune(): PrunedContent;
}
export {};