Stores metadata about a file.
More...
#include <tsk_fs.h>
Stores metadata about a file.
See TSK_FS_META for more details.
get address of the meta data structure for this file
- Returns
- address of the meta data structure for this file
time_t TskFsMeta::getATime |
( |
| ) |
const |
|
inline |
get last file content accessed time (stored in number of seconds since Jan 1, 1970 UTC)
- Returns
- last file content accessed time
References TSK_FS_META::atime.
uint32_t TskFsMeta::getATimeNano |
( |
| ) |
const |
|
inline |
get nano-second resolution of accessed time
- Returns
- nano-second resolution of accessed time
References TSK_FS_META::atime_nano.
time_t TskFsMeta::getBackUpTime |
( |
| ) |
const |
|
inline |
get HFS+ backup time
- Returns
- HFS+ backup time
uint32_t TskFsMeta::getBackUpTimeNano |
( |
| ) |
const |
|
inline |
get nano-second resolution of HFS+ backup time
- Returns
- nano-second resolution of HFS+ backup time
time_t TskFsMeta::getCrTime |
( |
| ) |
const |
|
inline |
get created time (stored in number of seconds since Jan 1, 1970 UTC)
- Returns
- created time
References TSK_FS_META::crtime.
uint32_t TskFsMeta::getCrTimeNano |
( |
| ) |
const |
|
inline |
get nano-second resolution of created time
- Returns
- nano-second resolution of created time
References TSK_FS_META::crtime_nano.
time_t TskFsMeta::getCTime |
( |
| ) |
const |
|
inline |
get last file / metadata status change time (stored in number of seconds since Jan 1, 1970 UTC)
- Returns
- last file / metadata status change time
References TSK_FS_META::ctime.
uint32_t TskFsMeta::getCTimeNano |
( |
| ) |
const |
|
inline |
get nano-second resolution of change time
- Returns
- nano-second resolution of change time
References TSK_FS_META::ctime_nano.
time_t TskFsMeta::getDTime |
( |
| ) |
const |
|
inline |
get linux deletion time
- Returns
- linux deletion time
uint32_t TskFsMeta::getDTimeNano |
( |
| ) |
const |
|
inline |
get nano-second resolution of deletion time
- Returns
- nano-second resolution of deletion time
get flags for this file for its allocation status etc.
- Returns
- flags for this file
References TSK_FS_META::flags.
const char* TskFsMeta::getLink |
( |
| ) |
const |
|
inline |
get name of target file if this is a symbolic link
- Returns
- name of target file if this is a symbolic link
References TSK_FS_META::link.
uint8_t TskFsMeta::getLs |
( |
char * |
a_buf, |
|
|
size_t |
a_len |
|
) |
| const |
|
inline |
Makes the "ls -l" permissions string for a file.
See tsk_fs_meta_make_ls() for details
- Parameters
-
a_buf | [out] Buffer to write results to (must be 12 bytes or longer) |
a_len | Length of buffer |
References tsk_fs_meta_make_ls().
get Unix-style permissions
- Returns
- Unix-style permissions mode
References TSK_FS_META::mode.
time_t TskFsMeta::getMTime |
( |
| ) |
const |
|
inline |
get last file content modification time (stored in number of seconds since Jan 1, 1970 UTC)
- Returns
- last file content modification time
References TSK_FS_META::mtime.
uint32_t TskFsMeta::getMTimeNano |
( |
| ) |
const |
|
inline |
get nano-second resolution of modification time
- Returns
- nano-second resolution of modification time
References TSK_FS_META::mtime_nano.
int TskFsMeta::getName2Count |
( |
| ) |
const |
|
inline |
int TskFsMeta::getNLink |
( |
| ) |
const |
|
inline |
get link count (number of file names pointing to this)
- Returns
- link count
References TSK_FS_META::nlink.
uint32_t TskFsMeta::getSeq |
( |
| ) |
const |
|
inline |
get sequence number for file (NTFS only, is incremented when entry is reallocated)
- Returns
- sequence number for file, or 0xFFFF on error.
References TSK_FS_META::seq.
The documentation for this class was generated from the following file: