@textile/hub > listPathRecursive
listPathRecursive() function
listPathRecursive returns a nested object of all paths (and info) in a bucket
Signature:
export declare function listPathRecursive(grpc: GrpcConnection, bucketKey: string, path: string, depth: number, currentDepth?: number): Promise<Path>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| grpc | GrpcConnection | |
| bucketKey | string | |
| path | string | |
| depth | number | |
| currentDepth | number |
Returns:
Promise<Path>