We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 135a7ca + c69504c commit 64d2856Copy full SHA for 64d2856
src/vfs/file.rs
@@ -192,10 +192,10 @@ impl File {
192
}
193
194
/// Write buffer to file at current position, overwriting any existing data.
195
- pub fn write_at(&mut self, buffer: &[u8]) -> anyhow::Result<()> {
+ pub fn write_all(&mut self, buffer: &[u8]) -> anyhow::Result<()> {
196
let request = VfsRequest {
197
path: self.path.clone(),
198
- action: VfsAction::WriteAt,
+ action: VfsAction::WriteAll,
199
};
200
let message = Request::new()
201
.target(("our", "vfs", "sys", "nectar"))
src/vfs/mod.rs
@@ -26,7 +26,7 @@ pub enum VfsAction {
26
OpenFile { create: bool },
27
CloseFile,
28
Write,
29
- WriteAt,
+ WriteAll,
30
Append,
31
SyncAll,
32
Read,
0 commit comments