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

Add (file) IO checks #28

Merged
merged 21 commits into from
Aug 14, 2024
Merged

Add (file) IO checks #28

merged 21 commits into from
Aug 14, 2024

Conversation

AlexAxthelm
Copy link
Collaborator

@AlexAxthelm AlexAxthelm commented Aug 8, 2024

Add utility functions for checking IO files and directories

inputs:

  • file exists
  • non-zero size
  • is file (not directory)

outputs:

  • is directory
  • directory exists
  • is writable

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.96%. Comparing base (9931ad9) to head (b3457ae).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   97.79%   97.96%   +0.17%     
==========================================
  Files           8        9       +1     
  Lines         543      591      +48     
==========================================
+ Hits          531      579      +48     
  Misses         12       12              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AlexAxthelm AlexAxthelm marked this pull request as ready for review August 13, 2024 14:09
@AlexAxthelm AlexAxthelm changed the title add function to check if directory is writable Add (file) IO checks Aug 13, 2024
@AlexAxthelm
Copy link
Collaborator Author

Primarily in use at: RMI-PACTA/workflow.pacta#83

@AlexAxthelm AlexAxthelm merged commit 838ea80 into main Aug 14, 2024
22 checks passed
@AlexAxthelm AlexAxthelm deleted the file-checks branch August 14, 2024 12:38
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