Load into time the last modification time of the file at path.
Synopsis
Declared in <bdls_filesystemutil.h>
template<class STRING_TYPE>
static
int
getLastModificationTime(
bdlt::Datetime* time,
STRING_TYPE const& path);
Description
Same as the overload taking const char *.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
time |
receives the last modification time in UTC |
path |
filesystem path of the file |
Created with MrDocs