ΒΆstd::error_code setLastAccessAndModificationTime(
    int FD,
    TimePoint<> AccessTime,
    TimePoint<> ModificationTime)

Description

Set the file modification and access time.

Declared at: llvm/include/llvm/Support/FileSystem.h:710

Parameters

int FD
TimePoint<> AccessTime
TimePoint<> ModificationTime

Returns

errc::success if the file times were successfully set, otherwise a platform-specific error_code or errc::function_not_supported on platforms where the functionality isn't available.