webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
rtc::UnixFilesystem Class Reference

#include <unixfilesystem.h>

Inheritance diagram for rtc::UnixFilesystem:
rtc::FilesystemInterface rtc::FilesystemInterface

Public Member Functions

 UnixFilesystem ()
 
 ~UnixFilesystem () override
 
FileStreamOpenFile (const Pathname &filename, const std::string &mode) override
 
bool DeleteFile (const Pathname &filename) override
 
bool DeleteEmptyFolder (const Pathname &folder) override
 
virtual bool CreateFolder (const Pathname &pathname, mode_t mode)
 
bool CreateFolder (const Pathname &pathname) override
 
bool MoveFile (const Pathname &old_path, const Pathname &new_path) override
 
bool CopyFile (const Pathname &old_path, const Pathname &new_path) override
 
bool IsFolder (const Pathname &pathname) override
 
bool IsTemporaryPath (const Pathname &pathname) override
 
bool IsFile (const Pathname &pathname) override
 
bool IsAbsent (const Pathname &pathname) override
 
std::string TempFilename (const Pathname &dir, const std::string &prefix) override
 
bool GetTemporaryFolder (Pathname &path, bool create, const std::string *append) override
 
bool GetFileSize (const Pathname &path, size_t *size) override
 
bool GetFileTime (const Pathname &path, FileTimeType which, time_t *time) override
 
bool GetAppTempFolder (Pathname *path) override
 
 UnixFilesystem ()
 
 ~UnixFilesystem () override
 
FileStreamOpenFile (const Pathname &filename, const std::string &mode) override
 
bool DeleteFile (const Pathname &filename) override
 
bool DeleteEmptyFolder (const Pathname &folder) override
 
virtual bool CreateFolder (const Pathname &pathname, mode_t mode)
 
bool CreateFolder (const Pathname &pathname) override
 
bool MoveFile (const Pathname &old_path, const Pathname &new_path) override
 
bool CopyFile (const Pathname &old_path, const Pathname &new_path) override
 
bool IsFolder (const Pathname &pathname) override
 
bool IsTemporaryPath (const Pathname &pathname) override
 
bool IsFile (const Pathname &pathname) override
 
bool IsAbsent (const Pathname &pathname) override
 
std::string TempFilename (const Pathname &dir, const std::string &prefix) override
 
bool GetTemporaryFolder (Pathname &path, bool create, const std::string *append) override
 
bool GetFileSize (const Pathname &path, size_t *size) override
 
bool GetFileTime (const Pathname &path, FileTimeType which, time_t *time) override
 
bool GetAppTempFolder (Pathname *path) override
 
- Public Member Functions inherited from rtc::FilesystemInterface
virtual ~FilesystemInterface ()
 
virtual DirectoryIteratorIterateDirectory ()
 
virtual bool DeleteFolderContents (const Pathname &folder)
 
virtual bool DeleteFolderAndContents (const Pathname &folder)
 
void SetOrganizationName (const std::string &organization)
 
void GetOrganizationName (std::string *organization)
 
void SetApplicationName (const std::string &application)
 
void GetApplicationName (std::string *application)
 
virtual ~FilesystemInterface ()
 
virtual DirectoryIteratorIterateDirectory ()
 
virtual bool DeleteFolderContents (const Pathname &folder)
 
virtual bool DeleteFolderAndContents (const Pathname &folder)
 
void SetOrganizationName (const std::string &organization)
 
void GetOrganizationName (std::string *organization)
 
void SetApplicationName (const std::string &application)
 
void GetApplicationName (std::string *application)
 

Additional Inherited Members

- Protected Attributes inherited from rtc::FilesystemInterface
std::string organization_name_
 
std::string application_name_
 

Constructor & Destructor Documentation

◆ UnixFilesystem() [1/2]

rtc::UnixFilesystem::UnixFilesystem ( )

◆ ~UnixFilesystem() [1/2]

rtc::UnixFilesystem::~UnixFilesystem ( )
override

◆ UnixFilesystem() [2/2]

rtc::UnixFilesystem::UnixFilesystem ( )

◆ ~UnixFilesystem() [2/2]

rtc::UnixFilesystem::~UnixFilesystem ( )
override

Member Function Documentation

◆ CopyFile() [1/2]

bool rtc::UnixFilesystem::CopyFile ( const Pathname old_path,
const Pathname new_path 
)
overridevirtual

◆ CopyFile() [2/2]

bool rtc::UnixFilesystem::CopyFile ( const Pathname old_path,
const Pathname new_path 
)
overridevirtual

◆ CreateFolder() [1/4]

virtual bool rtc::UnixFilesystem::CreateFolder ( const Pathname pathname,
mode_t  mode 
)
virtual

◆ CreateFolder() [2/4]

bool rtc::UnixFilesystem::CreateFolder ( const Pathname pathname,
mode_t  mode 
)
virtual

◆ CreateFolder() [3/4]

bool rtc::UnixFilesystem::CreateFolder ( const Pathname pathname)
overridevirtual

◆ CreateFolder() [4/4]

bool rtc::UnixFilesystem::CreateFolder ( const Pathname pathname)
overridevirtual

◆ DeleteEmptyFolder() [1/2]

bool rtc::UnixFilesystem::DeleteEmptyFolder ( const Pathname folder)
overridevirtual

◆ DeleteEmptyFolder() [2/2]

bool rtc::UnixFilesystem::DeleteEmptyFolder ( const Pathname folder)
overridevirtual

◆ DeleteFile() [1/2]

bool rtc::UnixFilesystem::DeleteFile ( const Pathname filename)
overridevirtual

◆ DeleteFile() [2/2]

bool rtc::UnixFilesystem::DeleteFile ( const Pathname filename)
overridevirtual

◆ GetAppTempFolder() [1/2]

bool rtc::UnixFilesystem::GetAppTempFolder ( Pathname path)
overridevirtual

◆ GetAppTempFolder() [2/2]

bool rtc::UnixFilesystem::GetAppTempFolder ( Pathname path)
overridevirtual

◆ GetFileSize() [1/2]

bool rtc::UnixFilesystem::GetFileSize ( const Pathname path,
size_t size 
)
overridevirtual

◆ GetFileSize() [2/2]

bool rtc::UnixFilesystem::GetFileSize ( const Pathname path,
size_t size 
)
overridevirtual

◆ GetFileTime() [1/2]

bool rtc::UnixFilesystem::GetFileTime ( const Pathname path,
FileTimeType  which,
time_t *  time 
)
overridevirtual

◆ GetFileTime() [2/2]

bool rtc::UnixFilesystem::GetFileTime ( const Pathname path,
FileTimeType  which,
time_t *  time 
)
overridevirtual

◆ GetTemporaryFolder() [1/2]

bool rtc::UnixFilesystem::GetTemporaryFolder ( Pathname path,
bool  create,
const std::string append 
)
overridevirtual

◆ GetTemporaryFolder() [2/2]

bool rtc::UnixFilesystem::GetTemporaryFolder ( Pathname path,
bool  create,
const std::string append 
)
overridevirtual

◆ IsAbsent() [1/2]

bool rtc::UnixFilesystem::IsAbsent ( const Pathname pathname)
overridevirtual

◆ IsAbsent() [2/2]

bool rtc::UnixFilesystem::IsAbsent ( const Pathname pathname)
overridevirtual

◆ IsFile() [1/2]

bool rtc::UnixFilesystem::IsFile ( const Pathname pathname)
overridevirtual

◆ IsFile() [2/2]

bool rtc::UnixFilesystem::IsFile ( const Pathname pathname)
overridevirtual

◆ IsFolder() [1/2]

bool rtc::UnixFilesystem::IsFolder ( const Pathname pathname)
overridevirtual

◆ IsFolder() [2/2]

bool rtc::UnixFilesystem::IsFolder ( const Pathname pathname)
overridevirtual

◆ IsTemporaryPath() [1/2]

bool rtc::UnixFilesystem::IsTemporaryPath ( const Pathname pathname)
overridevirtual

◆ IsTemporaryPath() [2/2]

bool rtc::UnixFilesystem::IsTemporaryPath ( const Pathname pathname)
overridevirtual

◆ MoveFile() [1/2]

bool rtc::UnixFilesystem::MoveFile ( const Pathname old_path,
const Pathname new_path 
)
overridevirtual

◆ MoveFile() [2/2]

bool rtc::UnixFilesystem::MoveFile ( const Pathname old_path,
const Pathname new_path 
)
overridevirtual

◆ OpenFile() [1/2]

FileStream * rtc::UnixFilesystem::OpenFile ( const Pathname filename,
const std::string mode 
)
overridevirtual

◆ OpenFile() [2/2]

FileStream* rtc::UnixFilesystem::OpenFile ( const Pathname filename,
const std::string mode 
)
overridevirtual

◆ TempFilename() [1/2]

std::string rtc::UnixFilesystem::TempFilename ( const Pathname dir,
const std::string prefix 
)
overridevirtual

◆ TempFilename() [2/2]

std::string rtc::UnixFilesystem::TempFilename ( const Pathname dir,
const std::string prefix 
)
overridevirtual

The documentation for this class was generated from the following files: