IUSCA / bioloop

Scientific data management portal and pipeline application template
Other
4 stars 2 forks source link

Update dir_last_modified_time function to consider both c_time and m_time for last modified time calculation #258

Closed deepakduggirala closed 4 months ago

deepakduggirala commented 4 months ago

If the copy process is configured to preserve the metadata of the source file, it will set the m_time of the target file after the copy process. This will update the c_time of the target file. In these cases, c_time will be bigger than m_time. So, we will consider the maximum of c_time and m_time of the file / directory as the last modified time.