From: david-sarah Date: Sun, 12 Dec 2010 17:03:20 +0000 (-0800) Subject: scripts/backupdb.py: more accurate comment about path field. X-Git-Url: https://git.rkrishnan.org/vdrive/%5B/%5D%20/COPYING.TGPPL.html?a=commitdiff_plain;h=2d5f3f694f0ac1beaf5b1606da8daae028190d09;p=tahoe-lafs%2Ftahoe-lafs.git scripts/backupdb.py: more accurate comment about path field. --- diff --git a/src/allmydata/scripts/backupdb.py b/src/allmydata/scripts/backupdb.py index f664ec12..817bd0be 100644 --- a/src/allmydata/scripts/backupdb.py +++ b/src/allmydata/scripts/backupdb.py @@ -23,7 +23,7 @@ CREATE TABLE version -- added in v1 CREATE TABLE local_files -- added in v1 ( - path VARCHAR(1024) PRIMARY KEY, -- index, this is os.path.abspath(fn) + path VARCHAR(1024) PRIMARY KEY, -- index, this is an absolute UTF-8-encoded local filename size INTEGER, -- os.stat(fn)[stat.ST_SIZE] mtime NUMBER, -- os.stat(fn)[stat.ST_MTIME] ctime NUMBER, -- os.stat(fn)[stat.ST_CTIME]