GitRoot

Craft your forge, Build your project, Grow your community freely
 1// SPDX-FileCopyrightText: 2026 Romain Maneschi <romain@gitroot.dev>
 2//
 3// SPDX-License-Identifier: MIT
 4
 5
 6@json
 7export class File {
 8  constructor(
 9    public path: string,
10    public fileHash: string,
11    public oldPath: string,
12    public oldFileHash: string,
13    public action: FileActionType,
14  ) {}
15}
16
17export namespace FileActionType {
18  export const Add = "add";
19  export const Mod = "mod";
20  export const Del = "del";
21}
22
23export type FileActionType = string;
24