GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Update NIO to understand new directory stand-ins by jean-philippe-martin · Pull Request #5204 · googleapis/google-cloud-java ConversationThe web interface has a "create folder" button, and that creates Those fake folders used to be 0-byte, but no longer. This pull request It also adds a test, and in order to write the test we had to add the ability Fixes #5203
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe web interface has a "create folder" button, and that creates a file ending in '/' that is used to pretend the folder exists. The web interface maintains the illusion but of course this is still only a file, so all clients (this one included) has to play along and pretend the directory exists (or users get confused). Those fake folders used to be 0-byte, but no longer. This pull request updates our code so it just looks at the trailing slash, ignoring the size of the file. It also adds a test, and in order to write the test we had to add the ability to create files whose name ends in '/', for test purpose only.
pmakani
reviewed
Uh oh!
There was an error while loading. Please reload this page.
pmakani
reviewed
Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
Codecov Report
@@ Coverage Diff @@ ## master #5204 +/- ## ============================================ + Coverage 50.42% 50.42% +<.01% - Complexity 23796 23816 +20 ============================================ Files 2251 2252 +1 Lines 226836 226841 +5 Branches 24966 24961 -5 ============================================ + Hits 114371 114380 +9 + Misses 103858 103855 -3 + Partials 8607 8606 -1
Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Please run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@sduskis done. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I hope everyone had a good weekend! @chingor13 the code should be ready, let me know in case there's still a ball in my camp! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thank you very much! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* Update NIO to understand directory stand-ins The web interface has a "create folder" button, and that creates a file ending in '/' that is used to pretend the folder exists. The web interface maintains the illusion but of course this is still only a file, so all clients (this one included) has to play along and pretend the directory exists (or users get confused). Those fake folders used to be 0-byte, but no longer. This pull request updates our code so it just looks at the trailing slash, ignoring the size of the file. It also adds a test, and in order to write the test we had to add the ability to create files whose name ends in '/', for test purpose only. * formatting changes * formatting * Update (C) year
* Update NIO to understand directory stand-ins The web interface has a "create folder" button, and that creates a file ending in '/' that is used to pretend the folder exists. The web interface maintains the illusion but of course this is still only a file, so all clients (this one included) has to play along and pretend the directory exists (or users get confused). Those fake folders used to be 0-byte, but no longer. This pull request updates our code so it just looks at the trailing slash, ignoring the size of the file. It also adds a test, and in order to write the test we had to add the ability to create files whose name ends in '/', for test purpose only. * formatting changes * formatting * Update (C) year
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
New Google Cloud Storage folders not recognized by NIO
There was an error while loading. Please reload this page.