mirror of https://github.com/borgbackup/borg.git
bigint conversion: add compatibility note
This commit is contained in:
parent
f708183743
commit
3665cc3024
|
@ -157,6 +157,7 @@ class Item(PropDict):
|
||||||
rdev = PropDict._make_property('rdev', int)
|
rdev = PropDict._make_property('rdev', int)
|
||||||
bsdflags = PropDict._make_property('bsdflags', int)
|
bsdflags = PropDict._make_property('bsdflags', int)
|
||||||
|
|
||||||
|
# note: we need to keep the bigint conversion for compatibility with borg 1.0 archives.
|
||||||
atime = PropDict._make_property('atime', int, 'bigint', encode=int_to_bigint, decode=bigint_to_int)
|
atime = PropDict._make_property('atime', int, 'bigint', encode=int_to_bigint, decode=bigint_to_int)
|
||||||
ctime = PropDict._make_property('ctime', int, 'bigint', encode=int_to_bigint, decode=bigint_to_int)
|
ctime = PropDict._make_property('ctime', int, 'bigint', encode=int_to_bigint, decode=bigint_to_int)
|
||||||
mtime = PropDict._make_property('mtime', int, 'bigint', encode=int_to_bigint, decode=bigint_to_int)
|
mtime = PropDict._make_property('mtime', int, 'bigint', encode=int_to_bigint, decode=bigint_to_int)
|
||||||
|
|
Loading…
Reference in New Issue