@textile/hub > PushOptions > root
PushOptions.root property
The bucket root path as a string, or root object. Important to set this property when there is a possibility of multiple parallel pushes to a bucket. Specifying this property will enforce fast-forward only updates. It not provided explicitly, the root path will be fetched via an additional API call before each push.
Signature:
root?: Root | string;