File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ export class Drive implements Contents.IDrive {
336
336
return data ;
337
337
}
338
338
339
- incrementUntitledName (
339
+ protected incrementUntitledName (
340
340
contents : Contents . IModel ,
341
341
options : Contents . ICreateOptions
342
342
) : string {
@@ -471,7 +471,11 @@ export class Drive implements Contents.IDrive {
471
471
*
472
472
* @param isDir - Whether the object is a directory or a file.
473
473
*/
474
- async incrementName ( localPath : string , bucketName : string , isDir : boolean ) {
474
+ protected async incrementName (
475
+ localPath : string ,
476
+ bucketName : string ,
477
+ isDir : boolean
478
+ ) {
475
479
let fileExtension : string = '' ;
476
480
let originalName : string = '' ;
477
481
@@ -558,7 +562,10 @@ export class Drive implements Contents.IDrive {
558
562
* @returns A promise which resolves with the new name when the
559
563
* file is copied.
560
564
*/
561
- async incrementCopyName ( copiedItemPath : string , bucketName : string ) {
565
+ protected async incrementCopyName (
566
+ copiedItemPath : string ,
567
+ bucketName : string
568
+ ) {
562
569
const isDir : boolean = await isDirectory (
563
570
this . _s3Client ,
564
571
bucketName ,
You can’t perform that action at this time.
0 commit comments