Skip to content

basalt / drives-microsoft/src / driveBase

Function: driveBase() ​

> driveBase(root): string

Defined in: drives-microsoft/src/roots.ts:143

The drive a root lives in: /me/drive, /drives/{id} or /sites/{id}/drive. Everything else in the adapter is built from this, so a connection can never address a drive it was not scoped to.

Parameters ​

root ​

MicrosoftRoot

Returns ​

string

Released under the MIT License.