Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Get file or file system status. More...
Classes | |
class | XBMCAddon::xbmcvfs::Stat |
Functions | |
XBMCAddon::xbmcvfs::Stat::st_mode () | |
| |
XBMCAddon::xbmcvfs::Stat::st_ino () | |
| |
XBMCAddon::xbmcvfs::Stat::st_dev () | |
| |
XBMCAddon::xbmcvfs::Stat::st_nlink () | |
| |
XBMCAddon::xbmcvfs::Stat::st_uid () | |
| |
XBMCAddon::xbmcvfs::Stat::st_gid () | |
| |
XBMCAddon::xbmcvfs::Stat::st_size () | |
| |
XBMCAddon::xbmcvfs::Stat::st_atime () | |
| |
XBMCAddon::xbmcvfs::Stat::st_mtime () | |
| |
XBMCAddon::xbmcvfs::Stat::st_ctime () | |
| |
Get file or file system status.
Class: xbmcvfs.Stat(path)
These class return information about a file. Execute (search) permission is required on all of the directories in path that lead to the file.
path | [string] file or folder |
Example:
XBMCAddon::xbmcvfs::Stat::st_atime | ( | ) |
Function: st_atime()
XBMCAddon::xbmcvfs::Stat::st_ctime | ( | ) |
Function: st_ctime()
XBMCAddon::xbmcvfs::Stat::st_dev | ( | ) |
Function: st_dev()
The st_dev field describes the device on which this file resides.
XBMCAddon::xbmcvfs::Stat::st_gid | ( | ) |
Function: st_gid()
XBMCAddon::xbmcvfs::Stat::st_ino | ( | ) |
Function: st_ino()
XBMCAddon::xbmcvfs::Stat::st_mode | ( | ) |
Function: st_mode()
XBMCAddon::xbmcvfs::Stat::st_mtime | ( | ) |
Function: st_mtime()
XBMCAddon::xbmcvfs::Stat::st_nlink | ( | ) |
Function: st_nlink()
XBMCAddon::xbmcvfs::Stat::st_size | ( | ) |
Function: st_size()
The st_size field gives the size of the file (if it is a regular file or a symbolic link) in bytes. The size of a symbolic link (only on Linux and Mac OS X) is the length of the pathname it contains, without a terminating null byte.
XBMCAddon::xbmcvfs::Stat::st_uid | ( | ) |
Function: st_uid()