-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make FlockFile function private to not expose it for misuse. (#3204)
* Make FlockFile function private to not expose it for misuse. * Update pr number in changelog * fix changelog Co-authored-by: Jörn Friedrich Dreyer <[email protected]>
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Enhancement: Make the function flockFile private | ||
|
||
Having that function exported is tempting people to use the func | ||
to get the name for calling the lock functions. That is wrong, as | ||
this function is just a helper to generate the lock file name from | ||
a given file to lock. | ||
|
||
https://github.com/cs3org/reva/pull/3204 |
This file contains 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