Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

@textile/hub > listPathFlat

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

ParameterTypeDescription
grpcGrpcConnection
bucketKeystring
pathstring
dirsboolean
depthnumber

Returns:

Promise<Array<string>>

  • listPathFlat() function
  • Parameters
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio