webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Static Public Member Functions | List of all members
rtc::Filesystem Class Reference

#include <fileutils.h>

Static Public Member Functions

static FilesystemInterfacedefault_filesystem ()
 
static void set_default_filesystem (FilesystemInterface *filesystem)
 
static FilesystemInterfaceswap_default_filesystem (FilesystemInterface *filesystem)
 
static DirectoryIteratorIterateDirectory ()
 
static bool CreateFolder (const Pathname &pathname)
 
static FileStreamOpenFile (const Pathname &filename, const std::string &mode)
 
static bool DeleteFile (const Pathname &filename)
 
static bool DeleteFolderContents (const Pathname &folder)
 
static bool DeleteFolderAndContents (const Pathname &folder)
 
static bool MoveFile (const Pathname &old_path, const Pathname &new_path)
 
static bool CopyFile (const Pathname &old_path, const Pathname &new_path)
 
static bool IsFolder (const Pathname &pathname)
 
static bool IsFile (const Pathname &pathname)
 
static bool IsAbsent (const Pathname &pathname)
 
static bool IsTemporaryPath (const Pathname &pathname)
 
static bool GetTemporaryFolder (Pathname &path, bool create, const std::string *append)
 
static std::string TempFilename (const Pathname &dir, const std::string &prefix)
 
static bool GetFileSize (const Pathname &path, size_t *size)
 
static bool GetFileTime (const Pathname &path, FileTimeType which, time_t *time)
 
static bool GetAppTempFolder (Pathname *path)
 
static void SetOrganizationName (const std::string &organization)
 
static void GetOrganizationName (std::string *organization)
 
static void SetApplicationName (const std::string &application)
 
static void GetApplicationName (std::string *application)
 
static FilesystemInterfacedefault_filesystem ()
 
static void set_default_filesystem (FilesystemInterface *filesystem)
 
static FilesystemInterfaceswap_default_filesystem (FilesystemInterface *filesystem)
 
static DirectoryIteratorIterateDirectory ()
 
static bool CreateFolder (const Pathname &pathname)
 
static FileStreamOpenFile (const Pathname &filename, const std::string &mode)
 
static bool DeleteFile (const Pathname &filename)
 
static bool DeleteFolderContents (const Pathname &folder)
 
static bool DeleteFolderAndContents (const Pathname &folder)
 
static bool MoveFile (const Pathname &old_path, const Pathname &new_path)
 
static bool CopyFile (const Pathname &old_path, const Pathname &new_path)
 
static bool IsFolder (const Pathname &pathname)
 
static bool IsFile (const Pathname &pathname)
 
static bool IsAbsent (const Pathname &pathname)
 
static bool IsTemporaryPath (const Pathname &pathname)
 
static bool GetTemporaryFolder (Pathname &path, bool create, const std::string *append)
 
static std::string TempFilename (const Pathname &dir, const std::string &prefix)
 
static bool GetFileSize (const Pathname &path, size_t *size)
 
static bool GetFileTime (const Pathname &path, FileTimeType which, time_t *time)
 
static bool GetAppTempFolder (Pathname *path)
 
static void SetOrganizationName (const std::string &organization)
 
static void GetOrganizationName (std::string *organization)
 
static void SetApplicationName (const std::string &application)
 
static void GetApplicationName (std::string *application)
 

Member Function Documentation

◆ CopyFile() [1/2]

static bool rtc::Filesystem::CopyFile ( const Pathname old_path,
const Pathname new_path 
)
inlinestatic

◆ CopyFile() [2/2]

static bool rtc::Filesystem::CopyFile ( const Pathname old_path,
const Pathname new_path 
)
inlinestatic

◆ CreateFolder() [1/2]

static bool rtc::Filesystem::CreateFolder ( const Pathname pathname)
inlinestatic

◆ CreateFolder() [2/2]

static bool rtc::Filesystem::CreateFolder ( const Pathname pathname)
inlinestatic

◆ default_filesystem() [1/2]

static FilesystemInterface* rtc::Filesystem::default_filesystem ( )
inlinestatic

◆ default_filesystem() [2/2]

static FilesystemInterface* rtc::Filesystem::default_filesystem ( )
inlinestatic

◆ DeleteFile() [1/2]

static bool rtc::Filesystem::DeleteFile ( const Pathname filename)
inlinestatic

◆ DeleteFile() [2/2]

static bool rtc::Filesystem::DeleteFile ( const Pathname filename)
inlinestatic

◆ DeleteFolderAndContents() [1/2]

static bool rtc::Filesystem::DeleteFolderAndContents ( const Pathname folder)
inlinestatic

◆ DeleteFolderAndContents() [2/2]

static bool rtc::Filesystem::DeleteFolderAndContents ( const Pathname folder)
inlinestatic

◆ DeleteFolderContents() [1/2]

static bool rtc::Filesystem::DeleteFolderContents ( const Pathname folder)
inlinestatic

◆ DeleteFolderContents() [2/2]

static bool rtc::Filesystem::DeleteFolderContents ( const Pathname folder)
inlinestatic

◆ GetApplicationName() [1/2]

static void rtc::Filesystem::GetApplicationName ( std::string application)
inlinestatic

◆ GetApplicationName() [2/2]

static void rtc::Filesystem::GetApplicationName ( std::string application)
inlinestatic

◆ GetAppTempFolder() [1/2]

static bool rtc::Filesystem::GetAppTempFolder ( Pathname path)
inlinestatic

◆ GetAppTempFolder() [2/2]

static bool rtc::Filesystem::GetAppTempFolder ( Pathname path)
inlinestatic

◆ GetFileSize() [1/2]

static bool rtc::Filesystem::GetFileSize ( const Pathname path,
size_t size 
)
inlinestatic

◆ GetFileSize() [2/2]

static bool rtc::Filesystem::GetFileSize ( const Pathname path,
size_t size 
)
inlinestatic

◆ GetFileTime() [1/2]

static bool rtc::Filesystem::GetFileTime ( const Pathname path,
FileTimeType  which,
time_t *  time 
)
inlinestatic

◆ GetFileTime() [2/2]

static bool rtc::Filesystem::GetFileTime ( const Pathname path,
FileTimeType  which,
time_t *  time 
)
inlinestatic

◆ GetOrganizationName() [1/2]

static void rtc::Filesystem::GetOrganizationName ( std::string organization)
inlinestatic

◆ GetOrganizationName() [2/2]

static void rtc::Filesystem::GetOrganizationName ( std::string organization)
inlinestatic

◆ GetTemporaryFolder() [1/2]

static bool rtc::Filesystem::GetTemporaryFolder ( Pathname path,
bool  create,
const std::string append 
)
inlinestatic

◆ GetTemporaryFolder() [2/2]

static bool rtc::Filesystem::GetTemporaryFolder ( Pathname path,
bool  create,
const std::string append 
)
inlinestatic

◆ IsAbsent() [1/2]

static bool rtc::Filesystem::IsAbsent ( const Pathname pathname)
inlinestatic

◆ IsAbsent() [2/2]

static bool rtc::Filesystem::IsAbsent ( const Pathname pathname)
inlinestatic

◆ IsFile() [1/2]

static bool rtc::Filesystem::IsFile ( const Pathname pathname)
inlinestatic

◆ IsFile() [2/2]

static bool rtc::Filesystem::IsFile ( const Pathname pathname)
inlinestatic

◆ IsFolder() [1/2]

static bool rtc::Filesystem::IsFolder ( const Pathname pathname)
inlinestatic

◆ IsFolder() [2/2]

static bool rtc::Filesystem::IsFolder ( const Pathname pathname)
inlinestatic

◆ IsTemporaryPath() [1/2]

static bool rtc::Filesystem::IsTemporaryPath ( const Pathname pathname)
inlinestatic

◆ IsTemporaryPath() [2/2]

static bool rtc::Filesystem::IsTemporaryPath ( const Pathname pathname)
inlinestatic

◆ IterateDirectory() [1/2]

static DirectoryIterator* rtc::Filesystem::IterateDirectory ( )
inlinestatic

◆ IterateDirectory() [2/2]

static DirectoryIterator* rtc::Filesystem::IterateDirectory ( )
inlinestatic

◆ MoveFile() [1/2]

static bool rtc::Filesystem::MoveFile ( const Pathname old_path,
const Pathname new_path 
)
inlinestatic

◆ MoveFile() [2/2]

static bool rtc::Filesystem::MoveFile ( const Pathname old_path,
const Pathname new_path 
)
inlinestatic

◆ OpenFile() [1/2]

static FileStream* rtc::Filesystem::OpenFile ( const Pathname filename,
const std::string mode 
)
inlinestatic

◆ OpenFile() [2/2]

static FileStream* rtc::Filesystem::OpenFile ( const Pathname filename,
const std::string mode 
)
inlinestatic

◆ set_default_filesystem() [1/2]

static void rtc::Filesystem::set_default_filesystem ( FilesystemInterface filesystem)
inlinestatic

◆ set_default_filesystem() [2/2]

static void rtc::Filesystem::set_default_filesystem ( FilesystemInterface filesystem)
inlinestatic

◆ SetApplicationName() [1/2]

static void rtc::Filesystem::SetApplicationName ( const std::string application)
inlinestatic

◆ SetApplicationName() [2/2]

static void rtc::Filesystem::SetApplicationName ( const std::string application)
inlinestatic

◆ SetOrganizationName() [1/2]

static void rtc::Filesystem::SetOrganizationName ( const std::string organization)
inlinestatic

◆ SetOrganizationName() [2/2]

static void rtc::Filesystem::SetOrganizationName ( const std::string organization)
inlinestatic

◆ swap_default_filesystem() [1/2]

static FilesystemInterface* rtc::Filesystem::swap_default_filesystem ( FilesystemInterface filesystem)
inlinestatic

◆ swap_default_filesystem() [2/2]

static FilesystemInterface* rtc::Filesystem::swap_default_filesystem ( FilesystemInterface filesystem)
inlinestatic

◆ TempFilename() [1/2]

static std::string rtc::Filesystem::TempFilename ( const Pathname dir,
const std::string prefix 
)
inlinestatic

◆ TempFilename() [2/2]

static std::string rtc::Filesystem::TempFilename ( const Pathname dir,
const std::string prefix 
)
inlinestatic

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