mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
add comment
This commit is contained in:
parent
09f3ad10fb
commit
0f5fdd6d39
1 changed files with 7 additions and 0 deletions
|
|
@ -95,6 +95,13 @@ class Item(object):
|
||||||
'''Used for generating hrefs and matching up items during
|
'''Used for generating hrefs and matching up items during
|
||||||
synchronization. This is either the UID or the hash of the item's
|
synchronization. This is either the UID or the hash of the item's
|
||||||
content.'''
|
content.'''
|
||||||
|
|
||||||
|
# We hash the item instead of directly using its raw content, because
|
||||||
|
#
|
||||||
|
# 1. The raw content might be really large, e.g. when its a contact
|
||||||
|
# with a picture, which bloats the status file.
|
||||||
|
#
|
||||||
|
# 2. The status file would contain really sensitive information.
|
||||||
return self.uid or self.hash
|
return self.uid or self.hash
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue