No | Method | Description |
1 | stats.isfile() | This method will returns true if file type is of a simple file. |
2 | stats.isdirectory() | This method will returns true if file type is of a directory. |
3 | stats.isblockdevice() | This method will return true if file type is of a block device. |
4 | stats.ischaracterdevice() | This method will return true if file type is of a character device. |
5 | stats.issymboliclink() | This method will return true if file type is of a symbolic link. |
6 | stats.isfifo() | This method will retunr true if file type is of fifo. |
7 | stats.issocket() | This methos will retunr true if file type is of asocket. |