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

Function file_is_read_write

src/io/is_read_write.rs:120–122  ·  view source on GitHub ↗
(file: &std::fs::File)

Source from the content-addressed store, hash-verified

118#[cfg(windows)]
119#[inline]
120fn file_is_read_write(file: &std::fs::File) -> std::io::Result<(bool, bool)> {
121 cap_fs_ext::IsFileReadWrite::is_file_read_write(file)
122}
123
124#[cfg(windows)]
125fn raw_socket_is_read_write(raw_socket: RawSocket) -> io::Result<(bool, bool)> {

Callers 1

is_read_writeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected