MCPcopy Create free account
hub / github.com/boostorg/build / timestamp_from_path

Function timestamp_from_path

v2/engine/timestamp.c:150–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 */
149
150void timestamp_from_path( timestamp * const time, OBJECT * const path )
151{
152 PROFILE_ENTER( timestamp );
153
154 PATHNAME f1;
155 PATHNAME f2;
156 int found;
157 BINDING * b;
158 string buf[ 1 ];
159
160
161 if ( file_time( path, time ) < 0 )
162 timestamp_clear( time );
163
164 PROFILE_EXIT( timestamp );
165}
166
167
168void timestamp_init( timestamp * const time, time_t const secs, int const nsecs

Callers 1

searchFunction · 0.85

Calls 2

file_timeFunction · 0.85
timestamp_clearFunction · 0.85

Tested by

no test coverage detected