getLastModificationTime overloads
Synopses
Declared in <bdls_filesystemutil.h>
Load into the specified time the last modification time of the file with the specified descriptor, as reported by the filesystem. Return 0 on success, and a non‐zero value otherwise. The time is reported in UTC.
static
int
getLastModificationTime(
bdlt::Datetime* time,
FileDescriptor descriptor);
Load into the specified time the last modification time of the file at the specified path, as reported by the filesystem. Return 0 on success, and a non‐zero value otherwise. The time is reported in UTC. The parameterized STRING_TYPE must be one of bsl::string, std::string, std::pmr::string (if supported), bsl::string_view, or bslstl::StringRef.
static
int
getLastModificationTime(
bdlt::Datetime* time,
char const* path);
Same as the overload taking const char *.
template<class STRING_TYPE>
static
int
getLastModificationTime(
bdlt::Datetime* time,
STRING_TYPE const& path);
Created with MrDocs