setLastModifiedTime


Description:

public static Result<bool,Error> setLastModifiedTime (Path path, DateTime t)

Sets the last modified time for a file.

Parameters:

path

target path.

t

modified time value.

Returns:

Result.ok(true) on success, or Result.error(FilesystemError.*) on failure.