Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

append mode #76

Open
purplecabbage opened this issue Nov 4, 2020 · 5 comments
Open

append mode #76

purplecabbage opened this issue Nov 4, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@purplecabbage
Copy link
Member

it would be super useful if we could write to a file through the api in append mode, this would allow other use cases like very basic logging without having to read and re-write the entire file

    await files.append('my-static-app/users.log', 'created new user `${newUserId}`')
@meryllblanchet meryllblanchet added the enhancement New feature or request label Nov 5, 2020
@aiojbot
Copy link
Collaborator

aiojbot commented Nov 5, 2020

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-955

@moritzraho
Copy link
Member

+1 we can read from a position + length but not write to a specific position

@PulkitChadhaAdobe
Copy link

Append mode would be useful for my use case to paralleling processing chunked files and saving the output from multiple workers into a single file.

@meryllblanchet
Copy link
Contributor

@sarahxxu the enhancement could serve multiple use-cases as highlighted.

@sarahxxu
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants