We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
File::write_at_sync
It uses write_at which does not guarantee that all passed data will be written. Instead write_all_at should be used (https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html#method.write_all_at)
write_at
write_all_at
https://github.com/qoollo/pearl/blob/master/src/blob/file.rs#L96
The text was updated successfully, but these errors were encountered:
Pearl::File::write_at_sync
Same for read: read_at should be replaced with read_exact_at: https://github.com/qoollo/pearl/blob/master/src/blob/file.rs#L118
read_at
read_exact_at
read_to_end should be used inside read_all: https://github.com/qoollo/pearl/blob/master/src/blob/file.rs#L101
read_to_end
read_all
Sorry, something went wrong.
idruzhitskiy
Successfully merging a pull request may close this issue.
It uses
write_at
which does not guarantee that all passed data will be written. Insteadwrite_all_at
should be used (https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html#method.write_all_at)https://github.com/qoollo/pearl/blob/master/src/blob/file.rs#L96
The text was updated successfully, but these errors were encountered: