PUMA Library Reference Manual
Loading...
Searching...
No Matches
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.
 
time_t modi_time () const
 Get the last modification time of the file.
 
int size () const
 Get the size of the file.
 

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 Symbol Documentation

◆ SysCall

friend class SysCall
friend