enum File::Type ¶ Represents the type of a file. Not all types will be supported on all platforms. Members¶ File = 0_u8 ¶ Directory = 1_u8 ¶ Symlink = 2_u8 ¶ Socket = 3_u8 ¶ Pipe = 4_u8 ¶ CharacterDevice = 5_u8 ¶ BlockDevice = 6_u8 ¶ Unknown = 7_u8 ¶ Methods¶ #block_device? ¶ View source #character_device? ¶ View source #device? ¶ Returns true if self is a CharacterDevice or a BlockDevice. View source #directory? ¶ View source #file? ¶ View source #pipe? ¶ View source #socket? ¶ View source #symlink? ¶ View source #unknown? ¶ View source