equal
deleted
inserted
replaced
540 """Storage interface for data storage of a specific file. |
540 """Storage interface for data storage of a specific file. |
541 |
541 |
542 This complements ``ifileindex`` and provides an interface for accessing |
542 This complements ``ifileindex`` and provides an interface for accessing |
543 data for a tracked file. |
543 data for a tracked file. |
544 """ |
544 """ |
545 def rawsize(rev): |
|
546 """The size of the fulltext data for a revision as stored.""" |
|
547 |
|
548 def size(rev): |
545 def size(rev): |
549 """Obtain the fulltext size of file data. |
546 """Obtain the fulltext size of file data. |
550 |
547 |
551 Any metadata is excluded from size measurements. Use ``rawsize()`` if |
548 Any metadata is excluded from size measurements. |
552 metadata size is important. |
|
553 """ |
549 """ |
554 |
550 |
555 def checkhash(fulltext, node, p1=None, p2=None, rev=None): |
551 def checkhash(fulltext, node, p1=None, p2=None, rev=None): |
556 """Validate the stored hash of a given fulltext and node. |
552 """Validate the stored hash of a given fulltext and node. |
557 |
553 |