Example #1
0
File: xstat.py Project: meeee/bup
 def utime(path, times):
     atime = times[0].to_timespec()
     mtime = times[1].to_timespec()
     return _helpers.utimensat(_helpers.AT_FDCWD, path, (atime, mtime), 0)
Example #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)
Example #3
0
File: xstat.py Project: meeee/bup
 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)
Example #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)