remove filesystem::file_attrib() function

This commit is contained in:
Jinhao
2015-12-30 01:11:07 +08:00
parent 48254b6555
commit 0a396c12c2
7 changed files with 55 additions and 242 deletions

View File

@@ -100,7 +100,7 @@ namespace filesystem
uintmax_t available;
};
using file_time_type = std::chrono::time_point< std::chrono::system_clock>;// trivial-clock> ;
using file_time_type = std::chrono::time_point<std::chrono::system_clock>;// trivial-clock> ;
class file_status
{
@@ -415,7 +415,6 @@ namespace filesystem
file_status status(const path& p);
bool file_attrib(const nana::string& file, attribute&);
inline bool is_directory(file_status s) { return s.type() == file_type::directory ;}
bool is_directory(const path& p);

View File

@@ -24,10 +24,6 @@ namespace filesystem
tm modified;
};
bool file_attrib(const ::std::string& file, attribute&);
//long long filesize(const nana::string& file); //deprecated
//bool mkdir(const ::std::string& dir, bool & if_exist); //deprecated
bool modified_file_time(const ::std::string& file, struct tm&);
std::wstring path_user();