From df7f89172f932ea918405ebafd11133f1aeeef05 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 22 Jul 2021 17:56:41 +0200 Subject: Added diff unit test & exported the PatchHeaderData type --- packages/server/src/git/diff.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/server') diff --git a/packages/server/src/git/diff.ts b/packages/server/src/git/diff.ts index 6cd38a3..56bc57b 100644 --- a/packages/server/src/git/diff.ts +++ b/packages/server/src/git/diff.ts @@ -1,7 +1,7 @@ import { Diff as NodeGitDiff } from "nodegit"; import { Patch } from "./patch"; -type PatchHeaderData = { +export type PatchHeaderData = { indexes: number[], lengths: number[], last: number | null -- cgit v1.2.3-18-g5258