]> arthur.barton.de Git - bup.git/commit - lib/bup/_helpers.c
Add (sec, ns) timestamps and extended stat, lstat, utime, and lutime.
authorRob Browning <rlb@defaultvalue.org>
Fri, 24 Sep 2010 03:00:07 +0000 (22:00 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 24 Sep 2010 03:00:07 +0000 (22:00 -0500)
commit3331e56781b32c81c6071ccfa925827650312a9c
tree78fd1f1f0f2d66c462b1a048aae7cc8c2d9097f4
parent02be0f57f2088341ebc245c103935d5445f57013
Add (sec, ns) timestamps and extended stat, lstat, utime, and lutime.

Replace py_lutimes() with bup_utimensat() and when available, use it
from helpers to provide high resolution lutime() and utime().  Also
provide the utimensat AT_FDCWD and AT_SYMLINK_NOFOLLOW flags from
_helpers.

Add bup_lstat(), and when available, use it from helpers to provide an
extended lstat(), which for now just adds full timestamp resolution.

Change the timestamp encoding to a signed pair of (seconds,
nanoseconds) both internally, and in the archive.
lib/bup/_helpers.c
lib/bup/helpers.py
lib/bup/metadata.py