cap-primitives 0.13.3

Capability-oriented primitives
Documentation
1
2
3
4
5
6
7
use posish::fs::is_file_read_write;
use std::{fs, io};

#[inline]
pub(crate) fn is_file_read_write_impl(file: &fs::File) -> io::Result<(bool, bool)> {
    is_file_read_write(file)
}