mirror of
https://github.com/dorny/paths-filter.git
synced 2025-01-29 18:45:41 +00:00
22 lines
377 B
TypeScript
22 lines
377 B
TypeScript
export interface FileStatus {
|
|
filename: string
|
|
status: ChangeStatus
|
|
}
|
|
|
|
export interface FileNumstat {
|
|
filename: string
|
|
additions: number
|
|
deletions: number
|
|
}
|
|
|
|
export type File = FileStatus & FileNumstat
|
|
|
|
export enum ChangeStatus {
|
|
Added = 'added',
|
|
Copied = 'copied',
|
|
Deleted = 'deleted',
|
|
Modified = 'modified',
|
|
Renamed = 'renamed',
|
|
Unmerged = 'unmerged'
|
|
}
|