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

Rewrite create_file and create_directory with ec error reporting #142

Merged
merged 8 commits into from
Jan 19, 2025

Conversation

bugdea1er
Copy link
Owner

@bugdea1er bugdea1er commented Jan 19, 2025

Added overloads for create_file and create_directory which report errors via error_code

Moved all create_* functions to create.hpp header from utils.hpp

return std::pair<fs::path, entry::native_handle_type>();
}
#else
int handle = mkstemps(path.data(), static_cast<int>(extension.size()));
Copy link
Owner Author

Choose a reason for hiding this comment

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

@bugdea1er bugdea1er marked this pull request as ready for review January 19, 2025 21:26
@bugdea1er bugdea1er merged commit e83e2e9 into main Jan 19, 2025
9 checks passed
@bugdea1er bugdea1er deleted the create branch January 19, 2025 21:27
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