listPathFlat() function
listPathFlat returns a string array of all paths in a bucket
Signature:
export declare function listPathFlat(grpc: GrpcConnection, bucketKey: string, path: string, dirs: boolean, depth: number): Promise<Array<string>>;
Parameters
Parameter | Type | Description |
---|---|---|
grpc | GrpcConnection | |
bucketKey | string | |
path | string | |
dirs | boolean | |
depth | number |
Returns:
Promise<Array<string>>