Mercurial > hg
view mercurial/cext/base85.pyi @ 47169:a13f72b9ccfb
revlog: move index reading logic in a dedicated method
They are multiple motivation to do it:
* The logic is complicated enough to deserver its own method.
* We will need to reuse this once we put a docket in use.
* This split the actual reading from the processing of the read data better.
Differential Revision: https://phab.mercurial-scm.org/D10595
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:25:56 +0200 |
parents | 8dca9051a859 |
children | 9367571fea21 |
line wrap: on
line source
from typing import Optional version: int def b85encode(text: bytes, pad: Optional[int]) -> bytes: ... def b85decode(text: bytes) -> bytes: ...