comparison rust/hg-core/src/utils/hg_path.rs @ 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 6c778d20c8c2
children 3da19db33cbc
comparison
equal deleted inserted replaced
46595:98a455a62699 46596:d2e61f00ee9d