Skip to main content

windows_attributes

Function windows_attributes 

Source
pub fn windows_attributes(ft: FsFileType) -> u32
Expand description

Windows file-attribute bits for a ForensicFs file type.

Directories carry FILE_ATTRIBUTE_DIRECTORY; everything else is reported as a normal file. The mount is presented read-only at the volume level (MountFlags::WRITE_PROTECT), so a per-file read-only bit is redundant and is not set here.