PUMA Library Reference Manual
Puma::FileInfo Class Reference

#include <Puma/SysCall.h>

Description

File information.

Public Member Functions

bool is_dir () const
 Check if the file is a directory. More...
 
time_t modi_time () const
 Get the last modification time of the file. More...
 
int size () const
 Get the size of the file. More...
 

Friends

class SysCall
 

Member Function Documentation

◆ is_dir()

bool Puma::FileInfo::is_dir ( ) const
inline

Check if the file is a directory.

Returns
True if it is a directory.

◆ modi_time()

time_t Puma::FileInfo::modi_time ( ) const
inline

Get the last modification time of the file.

Returns
The last modification time.

◆ size()

int Puma::FileInfo::size ( ) const
inline

Get the size of the file.

Returns
The file size.

Friends And Related Function Documentation

◆ SysCall

friend class SysCall
friend