Skip to content

Add updateObject function and Script file to run it#41

Open
anuragparida wants to merge 1 commit intoleopardslab:masterfrom
anuragparida:updateObject
Open

Add updateObject function and Script file to run it#41
anuragparida wants to merge 1 commit intoleopardslab:masterfrom
anuragparida:updateObject

Conversation

@anuragparida
Copy link

  • Added updateObject() function to ./src/services/cloud-storage/bucket.js which allows the user to replace an existing object in the specified bucket with a new object in the specified path.
  • Makes use of the uploadObject() and deleteObject() methods.

updateObject

  • Also Added Script file and corresponding JS file for running the function in CLI. (Takes 3 inputs - path, fileName and bucketName)

ScriptFile

JSFile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant