mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Added namespace to Filter
This commit is contained in:
14
types/nodegit/filter.d.ts
vendored
14
types/nodegit/filter.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user