|
Kodi Documentation
18.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::atime () | |
| |
| XBMCAddon::xbmcvfs::Stat::mtime () | |
| |
| XBMCAddon::xbmcvfs::Stat::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::atime | ( | ) |
Function: atime() To get time of last access.
| XBMCAddon::xbmcvfs::Stat::ctime | ( | ) |
Function: ctime() To get time of last status change.
| XBMCAddon::xbmcvfs::Stat::mtime | ( | ) |
Function: mtime() To get time of last modification.
| XBMCAddon::xbmcvfs::Stat::st_dev | ( | ) |
Function: st_dev() To get ID of device containing file.
The st_dev field describes the device on which this file resides.
| XBMCAddon::xbmcvfs::Stat::st_gid | ( | ) |
Function: st_gid() To get group ID of owner.
| XBMCAddon::xbmcvfs::Stat::st_ino | ( | ) |
Function: st_ino() To get inode number.
| XBMCAddon::xbmcvfs::Stat::st_mode | ( | ) |
Function: st_mode() To get file protection.
| XBMCAddon::xbmcvfs::Stat::st_nlink | ( | ) |
Function: st_nlink() To get number of hard links.
| XBMCAddon::xbmcvfs::Stat::st_size | ( | ) |
Function: st_size() To get total size, in bytes.
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() To get user ID of owner.