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

Update xdg.SearchRuntimeFile to also look in the temporary directory #101

Merged
merged 4 commits into from
Oct 31, 2024

Conversation

adrg
Copy link
Owner

@adrg adrg commented Oct 31, 2024

  • Update xdg.SearchRuntimeFile to also look in the operating system's temporary directory for runtime files.
    This covers unlikely cases where runtime files cannot be written relative to the base runtime directory either because it does not exist or it is not accessible.
  • Improve package testing.

Copy link

codecov bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (2335a68) to head (71a81ec).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #101   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          475       475           
=========================================
  Hits           475       475           

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

@adrg adrg changed the title Update xdg.SearchRuntimeFile to also look in the operating system's temporary directory Update xdg.SearchRuntimeFile to also look in the temporary directory Oct 31, 2024
@adrg adrg merged commit aa865a5 into master Oct 31, 2024
16 checks passed
@adrg adrg deleted the update-search-runtime-file branch October 31, 2024 16:20
xdg_test.go Show resolved Hide resolved
xdg_test.go Show resolved Hide resolved
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