Exemple #1
0
 def utime(path, times):
     atime = times[0].to_timespec()
     mtime = times[1].to_timespec()
     return _helpers.utimensat(_helpers.AT_FDCWD, path, (atime, mtime), 0)
Exemple #2
0
 def utime(path, times):
     atime = times[0].to_timespec()
     mtime = times[1].to_timespec()
     return _helpers.utimensat(_helpers.AT_FDCWD, path, (atime, mtime), 0)
Exemple #3
0
 def lutime(path, times):
     atime = times[0].to_timespec()
     mtime = times[1].to_timespec()
     return _helpers.utimensat(_helpers.AT_FDCWD, path, (atime, mtime),
                               _helpers.AT_SYMLINK_NOFOLLOW)
Exemple #4
0
 def lutime(path, times):
     atime = times[0].to_timespec()
     mtime = times[1].to_timespec()
     return _helpers.utimensat(_helpers.AT_FDCWD, path, (atime, mtime),
                               _helpers.AT_SYMLINK_NOFOLLOW)