]> arthur.barton.de Git - bup.git/commit
Replace os.*stat() with xstat.*stat(); use integer ns for all fs times.
authorRob Browning <rlb@defaultvalue.org>
Sun, 27 Mar 2011 17:01:45 +0000 (12:01 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 8 May 2011 07:39:14 +0000 (03:39 -0400)
commitafff24f20e1305ccdbbdc515780d607dc1447611
treea552190208425d70148e1b3f560235b7ca5cf266
parentb90624caebacd2128e1072fd74a666c0a98ffcb8
Replace os.*stat() with xstat.*stat(); use integer ns for all fs times.

Replace all calls of the os.*stat() functions with calls to the xstat
equivalents.  This should leave bup with the xstat stat representation
(and integer ns timestamps) everywhere.

Remove FSTime, and add a few xstat conversion functions to replace the
bits we still want: timespec_to_nsecs(), nsecs_to_timespec(),
fstime_floor_secs(), fstime_to_timespec().

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/midx-cmd.py
cmd/xstat-cmd.py
lib/bup/git.py
lib/bup/index.py
lib/bup/metadata.py
lib/bup/t/txstat.py
lib/bup/xstat.py
t/test-meta.sh