Repository navigation
[WIP] Storagedriver: GCS: Add new StorageDriver.FileWriter implementation - #1
Merged
BrianBland merged 3 commits intoFeb 23, 2016
Conversation
aibaars
force-pushed
the
newStorageDriverWriter-gcs
branch
from
February 12, 2016 18:07
8e5393b to
b9edd95
Compare
Author
|
@BrianBland It was very easy to implement the new interface. All I had to do was copy the relevant bits and pieces from distribution#1322 into the right places. |
aibaars
force-pushed
the
newStorageDriverWriter-gcs
branch
from
February 12, 2016 18:39
b9edd95 to
5147acb
Compare
BrianBland
force-pushed
the
newStorageDriverWriter
branch
3 times, most recently
from
February 13, 2016 00:01
769c375 to
a0d049a
Compare
aibaars
force-pushed
the
newStorageDriverWriter-gcs
branch
4 times, most recently
from
February 15, 2016 12:34
82d9b7c to
8d5b64d
Compare
BrianBland
force-pushed
the
newStorageDriverWriter
branch
5 times, most recently
from
February 16, 2016 23:13
1f3d6e2 to
309ef74
Compare
| // Stat retrieves the FileInfo for the given path, including the current | ||
| // size in bytes and the creation time. | ||
| func (d *driver) Stat(context ctx.Context, path string) (storagedriver.FileInfo, error) { | ||
|
|
Owner
There was a problem hiding this comment.
Nit: could you remove this empty line?
Owner
|
Generally looks pretty good, but needs a rebase. I'll ping you when the base commit is ready. |
8 tasks done
BrianBland
force-pushed
the
newStorageDriverWriter
branch
from
February 17, 2016 23:20
309ef74 to
0c5e0fc
Compare
Signed-off-by: Arthur Baars <[email protected]>
aibaars
force-pushed
the
newStorageDriverWriter-gcs
branch
2 times, most recently
from
February 18, 2016 12:05
ef9cb85 to
afbe3a2
Compare
Signed-off-by: Arthur Baars <[email protected]>
Signed-off-by: Arthur Baars <[email protected]>
aibaars
force-pushed
the
newStorageDriverWriter-gcs
branch
from
February 18, 2016 12:13
afbe3a2 to
e50e15b
Compare
Author
|
Rebased, and removed the empty line. |
Owner
|
LGTM, thanks for the submission |
BrianBland
added a commit
that referenced
this pull request
Feb 23, 2016
[WIP] Storagedriver: GCS: Add new StorageDriver.FileWriter implementation
BrianBland
pushed a commit
that referenced
this pull request
Jun 28, 2016
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is an attempt to implement the new StorageDriver.FileWriter interface (distribution#1438) for the Google Cloud Storage driver.
The implementation of FileWriter.Size for GCS returns the number of bytes that have been successfully persisted to cloud storage. I had to change the testsuite a little to make sure that the
FileWriteris closed before callingSize.@BrianBland