mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-05-01 16:30:14 +00:00
Add get_pathinfo.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
278762200d
commit
9c9a4e7aa2
@ -174,7 +174,7 @@ class BackupDB_v2:
|
|||||||
|
|
||||||
path = abspath_expanduser_unicode(path)
|
path = abspath_expanduser_unicode(path)
|
||||||
|
|
||||||
# XXX consider using get_pathinfo
|
# TODO: consider using get_pathinfo.
|
||||||
s = os.stat(path)
|
s = os.stat(path)
|
||||||
size = s[stat.ST_SIZE]
|
size = s[stat.ST_SIZE]
|
||||||
ctime = s[stat.ST_CTIME]
|
ctime = s[stat.ST_CTIME]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user