walkdir
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "walkdir", | ||
"description": "Find files simply. Walks a directory tree emitting events based on what it finds. Presents a familiar callback/emitter/a+sync interface. Walk a tree of any depth.", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"author": "Ryan Day <soldair@gmail.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -179,6 +179,8 @@ import { EventEmitter } from "events"; | ||
export function sync(path:string,options?:walkdir.WalkOptions&{return_object:false|undefined},eventListener?:walkdir.WalkEventListener):string[]; | ||
export function sync(path:string,options?:walkdir.WalkOptions&{return_object?:boolean},eventListener?:walkdir.WalkEventListener):string[]|{[path:string]:Stats}; | ||
// always sync:false. a promise of whatever is the same as walkdir. | ||
export function async(path:string,options:walkdir.WalkOptions&{return_object:true},eventListener?:walkdir.WalkEventListener):Promise<{[path:string]:Stats}>; | ||
export function async(path:string,options?:walkdir.WalkOptions&{return_object?:false},eventListener?:walkdir.WalkEventListener):Promise<string[]>; | ||
export function async(path:string,options?:walkdir.WalkOptions&{return_object:false},eventListener?:walkdir.WalkEventListener):Promise<string[]>; | ||
export function async(path:string,options?:walkdir.WalkOptions&{return_object?:boolean},eventListener?:walkdir.WalkEventListener):Promise<string[]>|Promise<{[path:string]:Stats}>; | ||
} |
41056
944