Added namespace to Filter

This commit is contained in:
Dolan
2017-06-07 02:27:13 +01:00
parent bb108937c7
commit a7d31d8d6b

View File

@@ -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;