-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gateway PUT Overwrite: Fix for PUT on empty dir; added test
The previous commit would fail when an empty directory was specified. This commit checks if the empty directory is specified, and will return an empty directory as it did previously. Also added a test case which verifies that a PUT to an existing file for a given DAG will overwrite its contents and return the correct new DAG. License: MIT Signed-off-by: Tom O'Donnell <todonnel91@gmail.com>
- Loading branch information
Showing
2 changed files
with
64 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters