Mercurial > hg
comparison contrib/genosxversion.py @ 46596:d2e61f00ee9d
rust: Introduce a get_bytes_from_os_str utility function
It does the same as get_bytes_from_path but takes an `OsStr`
instead of a `Path`. The implementation is the same so using either
ends up correct but the function name suggests it’s not.
Differential Revision: https://phab.mercurial-scm.org/D10007
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Wed, 17 Feb 2021 11:21:34 +0100 |
parents | 148d177a4f2d |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
46595:98a455a62699 | 46596:d2e61f00ee9d |
---|