Skip to main content

Module file_access

Module file_access 

Source
Expand description

Functionality for opening files while verifying their permissions.

Re-exportsยง

use std::borrow::Cow; ๐Ÿ”’
use std::fs::File; ๐Ÿ”’
use std::fs::OpenOptions; ๐Ÿ”’
use std::io::Read as _; ๐Ÿ”’
use std::io::Write; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::os::unix::fs::OpenOptionsExt as _; ๐Ÿ”’
use crate::CheckedDir; ๐Ÿ”’
use crate::Error; ๐Ÿ”’
use crate::Result; ๐Ÿ”’
use crate::Verifier; ๐Ÿ”’
use crate::dir::FullPathCheck; ๐Ÿ”’
use crate::walk::PathType; ๐Ÿ”’

Structsยง

FileAccess
Helper object for accessing a file on disk while checking the necessary permissions.

Enumsยง

Inner ๐Ÿ”’
Inner object for checking file permissions.