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

Added PathExists() convenience function #224

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

olehermanse
Copy link
Contributor

No description provided.

@mender-test-bot
Copy link

There was an error running your pipeline, see logs for details.

@mender-test-bot
Copy link

There was an error running your pipeline, see logs for details.

vpodzime
vpodzime previously approved these changes Jul 17, 2024
Copy link
Contributor

@vpodzime vpodzime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

libutils/file_lib.h Show resolved Hide resolved
larsewi
larsewi previously approved these changes Jul 17, 2024
craigcomstock
craigcomstock previously approved these changes Jul 18, 2024
Copy link
Contributor

@craigcomstock craigcomstock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are about 40 cases in core which check for an error, rc == -1, with lstat and a few that do this exact check. Seems like a solid addition. 👍

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
@mender-test-bot
Copy link

There was an error running your pipeline, see logs for details.

@olehermanse olehermanse merged commit 6f49c4c into NorthernTechHQ:master Jul 22, 2024
7 checks passed
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.

5 participants