Set mtime/ctime/atime of all objects as nanosecond
This commit is contained in:
committed by
Andrew Gaul
parent
ccfc119e45
commit
4b2f3fecb5
@ -56,7 +56,8 @@ template std::string str(unsigned long value);
|
||||
template std::string str(long long value);
|
||||
template std::string str(unsigned long long value);
|
||||
|
||||
template<> std::string str(struct timespec value) {
|
||||
template<> std::string str(const struct timespec value)
|
||||
{
|
||||
std::ostringstream s;
|
||||
s << value.tv_sec;
|
||||
if(value.tv_nsec != 0){
|
||||
|
||||
Reference in New Issue
Block a user