11// Copyright © 2024, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
22// SPDX-License-Identifier: Apache-2.0
3-
43import { FileType , Uri } from "vscode" ;
54
65import { AxiosResponse } from "axios" ;
@@ -343,16 +342,6 @@ class RestSASServerAdapter implements ContentAdapter {
343342 return ! ! this . filePropertiesToContentItem ( response . data ) ;
344343 }
345344
346- public async recycleItem (
347- item : ContentItem ,
348- ) : Promise < { newUri ?: Uri ; oldUri ?: Uri } > {
349- await this . deleteItem ( item ) ;
350- return {
351- newUri : getSasServerUri ( item , true ) ,
352- oldUri : getSasServerUri ( item ) ,
353- } ;
354- }
355-
356345 public async removeItemFromFavorites ( item : ContentItem ) : Promise < boolean > {
357346 throw new Error ( "Method not implemented." ) ;
358347 }
@@ -379,10 +368,6 @@ class RestSASServerAdapter implements ContentAdapter {
379368 return this . filePropertiesToContentItem ( response . data ) ;
380369 }
381370
382- public async restoreItem ( item : ContentItem ) : Promise < boolean > {
383- throw new Error ( "Method not implemented." ) ;
384- }
385-
386371 public async updateContentOfItem ( uri : Uri , content : string ) : Promise < void > {
387372 const filePath = this . trimComputePrefix ( getResourceId ( uri ) ) ;
388373 return await this . updateContentOfItemAtPath ( filePath , content ) ;
0 commit comments