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

Additional File Functions #61

Merged
merged 35 commits into from
Mar 6, 2016
Merged

Additional File Functions #61

merged 35 commits into from
Mar 6, 2016

Conversation

opalmer
Copy link
Owner

@opalmer opalmer commented Feb 10, 2016

This PR:

  • Adds CreateFile() - Can be used by twisted.python.lockfile to create files which can be read but not written to.
    • Add test to check for proper behavior of CREATE_ALWAYS and ERROR_ALREADY_EXISTS
    • Add test for the new LP_SECURITY_ATTRIBUTES structure.
  • Adds LockFileEx() - So a file can be locked while operations are being performed.
    • Tests for LockFileEx()
  • Adds UnlockFileEx() - Reverses LockFileEx()
    • Tests for UnlockFileEx()

@codecov-io
Copy link

Current coverage is 95.70%

Merging #61 into master will decrease coverage by -0.64% as of 9ee9355

Powered by Codecov. Updated on successful CI builds.

@opalmer opalmer self-assigned this Feb 10, 2016
@opalmer opalmer added this to the 0.2.0 milestone Feb 10, 2016
opalmer added a commit that referenced this pull request Mar 6, 2016
@opalmer opalmer merged commit e578643 into master Mar 6, 2016
@opalmer opalmer deleted the file_funcs branch March 6, 2016 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants