]> arthur.barton.de Git - bup.git/commit - lib/bup/xstat.py
Simplify FSTime() - always use an integer ns internal representation.
authorRob Browning <rlb@defaultvalue.org>
Sun, 14 Nov 2010 19:01:35 +0000 (13:01 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 14 Nov 2010 19:01:35 +0000 (13:01 -0600)
commitbb6cc420ec76d7dc5823efb38207c346dba2d4a2
tree59f3e35f70a6ed55cb76f1c828bd7b9d0a2c7068
parent81c82f23278fc0331a3407ee703fe2d443782bba
Simplify FSTime() - always use an integer ns internal representation.

On platforms without ns timestamps, just convert the python double
approximation to integer nanoseconds (internally).  That simplifies
the code, leaving only one internal representation, and since the
timestamps are actually recorded as timespecs, the double values were
going to be cycled through a nanosecond resolution integral
representation eventually anyway.
lib/bup/xstat.py