MCPcopy Create free account
hub / github.com/bytecodealliance/system-interface / _reopen_write

Function _reopen_write

src/fs/file_io_ext.rs:1023–1025  ·  view source on GitHub ↗
(file: &fs::File)

Source from the content-addressed store, hash-verified

1021
1022#[cfg(windows)]
1023unsafe fn _reopen_write(file: &fs::File) -> io::Result<fs::File> {
1024 file.reopen(cap_fs_ext::OpenOptions::new().write(true))
1025}
1026
1027#[cfg(windows)]
1028#[inline]

Callers 1

reopen_writeFunction · 0.85

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected