UNPKG

jscpd

Version:

Copy/paste detector for programming code, support JavaScript, CoffeeScript, PHP, Ruby, Python, Less, Go, Java, Yaml, C#, C++, C, Puppet, Twig languages

24 lines (23 loc) 598 B
import { IBlamedLines } from './blame.interface'; import { ITokenLocation } from './token/token-location.interface'; export interface IClone { format: string; isNew?: boolean; foundDate?: number; duplicationA: { sourceId: string; start: ITokenLocation; end: ITokenLocation; fragment: string; range: number[]; blame?: IBlamedLines; }; duplicationB: { sourceId: string; start: ITokenLocation; end: ITokenLocation; fragment: string; range: number[]; blame?: IBlamedLines; }; }