aboutsummaryrefslogtreecommitdiff
path: root/packages/server/src/git/diff.ts
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-22 17:56:41 +0200
committerHampusM <hampus@hampusmat.com>2021-07-22 17:56:41 +0200
commitdf7f89172f932ea918405ebafd11133f1aeeef05 (patch)
tree6dc68e78a7404ac81b8647912ca58ed840ed7618 /packages/server/src/git/diff.ts
parent2d969e3a0c52b87db2df72f1598fed50d0a4b831 (diff)
Added diff unit test & exported the PatchHeaderData type
Diffstat (limited to 'packages/server/src/git/diff.ts')
-rw-r--r--packages/server/src/git/diff.ts2
1 files changed, 1 insertions, 1 deletions
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