We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d43f6de + b1f677b commit e082fe8Copy full SHA for e082fe8
packages/my-shared-docprovider/src/drive.ts
@@ -111,6 +111,17 @@ export class MySharedDrive extends Drive implements ICollaborativeDrive {
111
return {id: '', last_modified: ''};
112
}
113
114
+ async rename(
115
+ oldLocalPath: string,
116
+ newLocalPath: string
117
+ ): Promise<Contents.IModel> {
118
+ return await this._app.serviceManager.contents.rename(oldLocalPath, newLocalPath);
119
+ }
120
+
121
+ async delete(localPath: string): Promise<void> {
122
+ return await this._app.serviceManager.contents.delete(localPath);
123
124
125
async newUntitled(options?: Contents.ICreateOptions): Promise<Contents.IModel> {
126
return await this._app.serviceManager.contents.newUntitled(options);
127
0 commit comments