@@ -36,15 +36,13 @@ function hookGetItemURL (rs): void {
36
36
if ( rs . _origBaseClientGetItemURL ) { return ; }
37
37
rs . _origBaseClientGetItemURL = BaseClient . prototype . getItemURL ;
38
38
BaseClient . prototype . getItemURL = function ( path : string ) : string {
39
- console . log ( 'getItemURL from' , path ) ;
40
39
if ( typeof path !== 'string' ) {
41
40
throw 'Argument \'path\' of baseClient.getItemURL must be a string' ;
42
41
}
43
42
if ( this . storage . connected ) {
44
43
if ( path . startsWith ( '/' ) ) {
45
44
path = path . substring ( 1 ) ;
46
45
}
47
- console . log ( 'getItemURL to' , this . selectedPodURL + cleanPath ( path ) ) ;
48
46
return this . selectedPodURL + cleanPath ( path ) ;
49
47
} else {
50
48
return undefined ;
@@ -129,7 +127,6 @@ class Solid extends RemoteBase implements Remote, ConfigObserver {
129
127
130
128
constructor ( remoteStorage ) {
131
129
super ( remoteStorage ) ;
132
- console . log ( 'Solid constructor' ) ;
133
130
this . online = true ;
134
131
this . addEvents ( [ 'connected' , 'not-connected' , 'pod-not-selected' ] ) ;
135
132
@@ -400,12 +397,10 @@ class Solid extends RemoteBase implements Remote, ConfigObserver {
400
397
* @protected
401
398
*/
402
399
get ( path : string , options : { ifNoneMatch ?: string } = { } ) : Promise < RemoteResponse > {
403
- console . log ( 'Solid get' , path , options ) ;
404
400
const fileURL = this . getFileURL ( path ) ;
405
401
406
402
if ( path . slice ( - 1 ) === '/' ) {
407
403
return getSolidDataset ( fileURL , { fetch : this . session . fetch } ) . then ( containerDataset => {
408
- console . log ( 'container data set' , containerDataset ) ;
409
404
const URLs : UrlString [ ] = getContainedResourceUrlAll ( containerDataset ) ;
410
405
const listing = URLs . reduce ( ( map , item ) => {
411
406
const itemName = item . substring ( fileURL . length ) ;
@@ -479,8 +474,6 @@ class Solid extends RemoteBase implements Remote, ConfigObserver {
479
474
* @protected
480
475
*/
481
476
put ( path : string , body : XMLHttpRequestBodyInit , contentType : string , options : { ifMatch ?: string ; ifNoneMatch ?: string } = { } ) : Promise < RemoteResponse > {
482
- console . log ( 'Solid put' , path , contentType ) ;
483
-
484
477
const fileURL = this . getFileURL ( path ) ;
485
478
const fetch = this . session . fetch ;
486
479
@@ -527,7 +520,6 @@ class Solid extends RemoteBase implements Remote, ConfigObserver {
527
520
* @protected
528
521
*/
529
522
delete ( path : string , options : { ifMatch ?: string } = { } ) : Promise < RemoteResponse > {
530
- console . log ( 'Solid delete' , path ) ;
531
523
const fileURL = this . getFileURL ( path ) ;
532
524
533
525
return deleteFile ( fileURL , { fetch : this . session . fetch } ) . then ( ( ) => {
0 commit comments