mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Merge pull request #1753 from hunbernd/New-Posted-Card-View
New posted card view enhancements
This commit is contained in:
commit
c6643613b6
38 changed files with 3088 additions and 468 deletions
|
@ -254,7 +254,13 @@ int RsDirUtil::breakupDirList(const std::string& path,
|
|||
/**** Copied and Tweaked from ftcontroller ***/
|
||||
bool RsDirUtil::fileExists(const std::string& filename)
|
||||
{
|
||||
#ifdef WINDOWS_SYS
|
||||
std::wstring wfilename;
|
||||
librs::util::ConvertUtf8ToUtf16(filename, wfilename);
|
||||
return ( _waccess( wfilename.c_str(), F_OK ) != -1 );
|
||||
#else
|
||||
return ( access( filename.c_str(), F_OK ) != -1 );
|
||||
#endif
|
||||
}
|
||||
|
||||
bool RsDirUtil::moveFile(const std::string& source,const std::string& dest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue