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

Don't use os.IsNotExist #6

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Don't use os.IsNotExist #6

merged 1 commit into from
Feb 19, 2024

Conversation

ypdn
Copy link
Contributor

@ypdn ypdn commented Feb 19, 2024

os.IsNotExist documentation says:

This function predates errors.Is. It only supports errors returned by the os
package. New code should use errors.Is(err, fs.ErrNotExist).

os.IsNotExist documentation says:
> This function predates errors.Is. It only supports errors returned by the os
> package. New code should use errors.Is(err, fs.ErrNotExist).
@benbjohnson benbjohnson merged commit 8e79949 into benbjohnson:main Feb 19, 2024
@benbjohnson
Copy link
Owner

Thanks!

@ypdn
Copy link
Contributor Author

ypdn commented Feb 19, 2024

@benbjohnson Could you create a new tag so that the Go toolchain can download it? Thanks.

@benbjohnson
Copy link
Owner

@ypdn No problem, here's the new release: https://github.com/benbjohnson/hashfs/releases/tag/v0.2.2

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