mirror of
https://github.com/friebetill/obsidian-file-diff.git
synced 2026-07-22 07:40:25 +00:00
21 lines
442 B
TypeScript
21 lines
442 B
TypeScript
export class Difference {
|
|
constructor(args: {
|
|
file1Start: number
|
|
file2Start: number
|
|
file1Lines: string[]
|
|
file2Lines: string[]
|
|
}) {
|
|
this.file1Start = args.file1Start
|
|
this.file2Start = args.file2Start
|
|
this.file1Lines = args.file1Lines
|
|
this.file2Lines = args.file2Lines
|
|
}
|
|
|
|
public readonly file1Start: number
|
|
|
|
public readonly file2Start: number
|
|
|
|
public readonly file1Lines: string[]
|
|
|
|
public readonly file2Lines: string[]
|
|
}
|