Add get_pathinfo.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2015-12-28 20:07:55 +00:00 committed by Brian Warner
parent 278762200d
commit 9c9a4e7aa2

@ -174,7 +174,7 @@ class BackupDB_v2:
path = abspath_expanduser_unicode(path)
# XXX consider using get_pathinfo
# TODO: consider using get_pathinfo.
s = os.stat(path)
size = s[stat.ST_SIZE]
ctime = s[stat.ST_CTIME]