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

Turn AcquireLock more reusable by adding path as parameter #462

Closed

Conversation

ulyssessouza
Copy link

What does this pull request do and why is it needed?
This PR intents to turn AcquireLock more reusable by adding path as parameter. It conserves the previous behaviour in the case of an empty path.

Another alternative would be implementing this with varargs to void changing all the calls

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
@ulyssessouza ulyssessouza marked this pull request as ready for review August 16, 2023 11:17
@ulyssessouza
Copy link
Author

Using github.com/mutagen-io/mutagen/pkg/filesystem/locking directly instead

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.

1 participant