From a7d31d8d6b0ced066bb516ccc2109e25c1a8c208 Mon Sep 17 00:00:00 2001 From: Dolan Date: Wed, 7 Jun 2017 02:27:13 +0100 Subject: [PATCH] Added namespace to Filter --- types/nodegit/filter.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/types/nodegit/filter.d.ts b/types/nodegit/filter.d.ts index 391ab00456..aedc0dbd6f 100644 --- a/types/nodegit/filter.d.ts +++ b/types/nodegit/filter.d.ts @@ -2,6 +2,20 @@ import { Repository } from './repository'; import { Blob } from './blob'; import { Buf } from './buf'; +export namespace Filter { + enum FLAG { + DEFAULT = 0, + ALLOW_UNSAFE = 1 + } + + enum MODE { + TO_WORKTREE = 0, + SMUDGE = 0, + TO_ODB = 1, + CLEAN = 1 + } +} + export class Filter { static listContains(filters: any, name: string): number; static listLength(fl: any): number;