Part of bzrlib.versionedfile View In Hierarchy
This mapper is for use with a transport based backend.
Method | _escape | Turn a key element into a filesystem safe string. |
Method | _unescape | Escaped names are easily unescaped by urlutils. |
Inherited from HashPrefixMapper:
Method | _map | See KeyMapper.map(). |
Method | _unmap | See KeyMapper.unmap(). |
Inherited from URLEscapeMapper (via HashPrefixMapper):
Method | map | See KeyMapper.map(). |
Method | unmap | See KeyMapper.unmap(). |
This is similar to a plain urllib.quote, except it uses specific safe characters, so that it doesn't have to translate a lot of valid file ids.