Skip to content

basalt / drives-microsoft/src / itemInDrive

Function: itemInDrive() ​

> itemInDrive(root, externalId, provider): string

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

The resource for one item inside a connection's drive.

The drive comes from the connection, never from the item: an externalId is only unique within a drive, and letting an item decide which drive to open would be how a connection scoped to one library reads another.

Parameters ​

root ​

MicrosoftRoot

externalId ​

string

provider ​

string

Returns ​

string

Released under the MIT License.