Esempio n. 1
0
 def _is_too_old(self, node):
     return datetime_to_timestamp(node.modified) < self._last_recycle
Esempio n. 2
0
def preserve_mtime(node, full_path):
    mtime = datetime_to_timestamp(node.modified)
    os.utime(full_path, (mtime, mtime))