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

Added copy-with-generation-preconditions #12

Closed
wants to merge 1 commit into from

Conversation

rfb
Copy link
Contributor

@rfb rfb commented Mar 1, 2024

Added copy-with-generation-preconditions to the convenience functions section. The purpose of this function is to set some preconditions before the copy takes place to avoid race conditions where files are added just before the copy.

I can imagine the "Convenience functions" section becoming unwieldy. There is probably a more composable design here which I'm happy to work towards if anyone has feedback.

Added copy-with-generation-preconditions to the convenience functions
section. The purpose of this function is to set some preconditions
before the copy takes place to avoid race conditions where files are
added just before the copy.

I can imagine the "Convenience functions" section becoming unwieldy.
There is probably a more composable design here which I'm happy to work
towards if anyone has feedback.
@edporras
Copy link
Member

Hi, this looks good. @iomonad suggests it to be integrate it into copy via an option. Some of the other calls already take an optional options argument so we could match the behavior. What do you think?

@edporras
Copy link
Member

edporras commented Jul 1, 2024

closed by #14

@edporras edporras closed this Jul 1, 2024
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