Guide API
Skip to main content

FA_DIREC

Constant FA_DIREC 

Source
pub const FA_DIREC: u8 = 0x10;
Expand description

The directory-attribute bit of SearchRec::attr (FA_DIREC = 0x10).

Test rec.attr & FA_DIREC != 0 to distinguish a directory entry from a plain file in a listing produced by FileList. This is the only DOS attribute bit used by the port; the rest are not set or inspected.