Skip to content

storage: Don't provide multiple methods for file writing#70

Merged
silvolu merged 4 commits intogoogleapis:masterfrom
rakyll:writeinterfaces
Jul 31, 2014
Merged

storage: Don't provide multiple methods for file writing#70
silvolu merged 4 commits intogoogleapis:masterfrom
rakyll:writeinterfaces

Conversation

@rakyll
Copy link
Contributor

@rakyll rakyll commented Jul 31, 2014

This is a proposal, don't merge if you don't like it.

@silvolu
Copy link
Contributor

silvolu commented Jul 31, 2014

We might want to keep the option to upload a file by passing the path to the file, for the 'I just want to upload this file' scenario. What do you think?

@rakyll
Copy link
Contributor Author

rakyll commented Jul 31, 2014

Should we call it bucket.writeFile or provide a filename option?

bucket.write(name, { filename: '/path/to/whatever' }, callback);

@silvolu
Copy link
Contributor

silvolu commented Jul 31, 2014

I like the idea of having only one method, so filename option sounds good!

@rakyll
Copy link
Contributor Author

rakyll commented Jul 31, 2014

Done, PTAL.

@silvolu
Copy link
Contributor

silvolu commented Jul 31, 2014

LGTM

silvolu added a commit that referenced this pull request Jul 31, 2014
storage: Don't provide multiple methods for file writing
@silvolu silvolu merged commit 6cd5692 into googleapis:master Jul 31, 2014
sofisl pushed a commit that referenced this pull request Sep 16, 2022
sofisl pushed a commit that referenced this pull request Oct 5, 2022
sofisl pushed a commit that referenced this pull request Oct 8, 2022
sofisl pushed a commit that referenced this pull request Oct 11, 2022
sofisl pushed a commit that referenced this pull request Oct 13, 2022
sofisl pushed a commit that referenced this pull request Oct 13, 2022
* chore: clean up Node.js TOC for cloud-rad

Source-Author: F. Hinkelmann <franziska.hinkelmann@gmail.com>
Source-Date: Wed Oct 21 09:26:04 2020 -0400
Source-Repo: googleapis/synthtool
Source-Sha: f96d3b455fe27c3dc7bc37c3c9cd27b1c6d269c8
Source-Link: googleapis/synthtool@f96d3b4

* chore: fix Node.js TOC for cloud-rad

Source-Author: F. Hinkelmann <franziska.hinkelmann@gmail.com>
Source-Date: Wed Oct 21 12:01:24 2020 -0400
Source-Repo: googleapis/synthtool
Source-Sha: 901ddd44e9ef7887ee681b9183bbdea99437fdcc
Source-Link: googleapis/synthtool@901ddd4
sofisl pushed a commit that referenced this pull request Jan 10, 2023
sofisl pushed a commit that referenced this pull request Jan 24, 2023
* chore: lock files maintenance

* chore: lock files maintenance
sofisl pushed a commit that referenced this pull request Jan 25, 2023
* chore: lock files maintenance

* chore: lock files maintenance
sofisl pushed a commit that referenced this pull request Jan 26, 2023
* feat: adds v1 version of library
* fix: workaround for test failures (added run.ts file)
sofisl pushed a commit that referenced this pull request Sep 14, 2023
miguelvelezsa pushed a commit that referenced this pull request Jul 23, 2025
This includes the refinement of page streaming
sofisl pushed a commit that referenced this pull request Jan 27, 2026
…eateProfile() (#76)

Fixes #70

I tested by running 8 copies of the acmeAir app both before and after this change (for about 10 minutes). Before, ESOCKETTIMEDOUT errors occurred on every request to createProfile(), after, no ESOCKETTIMEDOUT errors were observed.
sofisl pushed a commit that referenced this pull request Jan 27, 2026
…eateProfile() (#76)

Fixes #70

I tested by running 8 copies of the acmeAir app both before and after this change (for about 10 minutes). Before, ESOCKETTIMEDOUT errors occurred on every request to createProfile(), after, no ESOCKETTIMEDOUT errors were observed.
miguelvelezsa pushed a commit that referenced this pull request Jan 28, 2026
* Upgrade repo-tools and regenerate scaffolding.

* looks like new package-lock.json fixes lint error

* update package-lock.json for samples
sofisl pushed a commit that referenced this pull request Feb 4, 2026
sofisl pushed a commit that referenced this pull request Feb 5, 2026
* Upgrade repo-tools and regenerate scaffolding.

* looks like new package-lock.json fixes lint error

* update package-lock.json for samples
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