~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_dirstate_helpers_pyx.pyx

  • Committer: Jelmer Vernooij
  • Date: 2016-04-03 16:32:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6617.
  • Revision ID: jelmer@jelmer.uk-20160403163231-h72bo0uyek2gikw0
Don't put French text in doc/en/user-reference when LANGUAGE=fr_CH.UTF_8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
812
812
_encode = binascii.b2a_base64
813
813
 
814
814
 
815
 
from struct import pack
816
815
cdef _pack_stat(stat_value):
817
816
    """return a string representing the stat value's key fields.
818
817
 
833
832
    return _encode(packed)[:-1]
834
833
 
835
834
 
 
835
def pack_stat(stat_value):
 
836
    """Convert stat value into a packed representation quickly with pyrex"""
 
837
    return _pack_stat(stat_value)
 
838
 
 
839
 
836
840
def update_entry(self, entry, abspath, stat_value):
837
841
    """Update the entry based on what is actually on disk.
838
842