| 147 | */ |
| 148 | |
| 149 | void timestamp_from_path( timestamp * const time, OBJECT * const path ) |
| 150 | { |
| 151 | PROFILE_ENTER( timestamp ); |
| 152 | |
| 153 | if ( file_time( path, time ) < 0 ) |
| 154 | timestamp_clear( time ); |
| 155 | |
| 156 | PROFILE_EXIT( timestamp ); |
| 157 | } |
| 158 | |
| 159 | |
| 160 | void timestamp_init( timestamp * const time, time_t const secs, int const nsecs |
no test coverage detected