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

fix: file moving on Android #164

Closed
wants to merge 1 commit into from
Closed

fix: file moving on Android #164

wants to merge 1 commit into from

Conversation

VoltrexKeyva
Copy link

The moveFile() function tries to make a hard link which isn't supported on Android, which results in a EACCES error, so call move() directly when running on Android.

References

Fixes #155

@VoltrexKeyva VoltrexKeyva requested a review from a team as a code owner February 8, 2023 10:53
@VoltrexKeyva VoltrexKeyva requested review from wraithgar and removed request for a team February 8, 2023 10:53
@VoltrexKeyva
Copy link
Author

@wraithgar it's been a while since this has been open, can you please take a look?

@VoltrexKeyva VoltrexKeyva changed the title lib,util: fix file moving on Android fix: file moving on Android Feb 28, 2023
@VoltrexKeyva
Copy link
Author

VoltrexKeyva commented Feb 28, 2023

@lukekarrys can you also please take a look? Note that the tests fail on pretty much every PR that has code changes because the coverage threshold is set to a seemingly unreasonable goal of 100%, what is the reason for this?

The `moveFile()` function tries to make a hard link which isn't
supported on Android, which results in a `EACCES` error, so call `move()`
directly when running on Android.

Fixes #155
@wraithgar
Copy link
Member

We're just gonna not do any of this anymore #195

@wraithgar wraithgar closed this May 1, 2023
@VoltrexKeyva VoltrexKeyva deleted the fix-for-android branch May 1, 2023 20:37
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.

[BUG] cacache doesn't work on Android
2 participants