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

Make load_buf return Option #5

Merged
merged 1 commit into from
Jun 15, 2024
Merged

Make load_buf return Option #5

merged 1 commit into from
Jun 15, 2024

Conversation

orsinium
Copy link
Contributor

load_buf in data and sudo modules now returns Option. None is returned if the file does not exist or cannot be opened. The ram::load_buf function, however, does not use Option because the RAM files are known statically.

@orsinium orsinium merged commit f4a3291 into main Jun 15, 2024
@orsinium orsinium deleted the load_buf-option branch June 15, 2024 06:43
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.

1 participant