Skip to content

Added the functionality to delete file segments if they exist#5

Merged
ravikamachi merged 1 commit intorackspace:masterfrom
alanquillin:UpdateDeleteObjectToDeleteSegmentsAsWell
May 14, 2013
Merged

Added the functionality to delete file segments if they exist#5
ravikamachi merged 1 commit intorackspace:masterfrom
alanquillin:UpdateDeleteObjectToDeleteSegmentsAsWell

Conversation

@alanquillin
Copy link
Copy Markdown

Changes

  • Modified the CloudFilesProvider.DeleteObject logic to check to see if the file is being deleted is a manifest file. If so, then it retrieves all the files in the manifests and deletes them as well.
  • Fixed a bug in the CloudFilesProvider that caused the token to be re-fetched each time a web request was made to the service.
  • Removed unused constants from the CloudFilesProvider class

@ravikamachi
Copy link
Copy Markdown

Testing:
Uploaded a file > 5 GB and used CloudFilesProvider's DeleteObject method (passing _deleteSegments: true_) to delete the object including segments.
LGTM

ravikamachi pushed a commit that referenced this pull request May 14, 2013
…entsAsWell

Added the functionality to delete file segments if they exist
@ravikamachi ravikamachi merged commit df08276 into rackspace:master May 14, 2013
@alanquillin alanquillin deleted the UpdateDeleteObjectToDeleteSegmentsAsWell branch May 14, 2013 19:23
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.

2 participants