mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-08 00:59:04 +00:00
Collect and report number of changes
This commit is contained in:
parent
de90cc6fb3
commit
28cec18b46
11 changed files with 374 additions and 169 deletions
10
src/file.ts
10
src/file.ts
|
@ -1,8 +1,16 @@
|
|||
export interface File {
|
||||
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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue