sapling/eden/scm/lib/cpython-ext
Xavier Deguillard 33ea1763ce cpython-ext: add a PyPath type
Summary:
This will be used as an argument to the Rust bindings when using paths. This
type is either a PyBytes in Python2 and uses the various encoding function to
convert into a String, or a PyUnicode in Python3 with no encoding change.

Reviewed By: farnz

Differential Revision: D19587890

fbshipit-source-id: 58903426585693193754691fe3c756b9097b35f6
2020-01-27 16:50:14 -08:00
..
src cpython-ext: add a PyPath type 2020-01-27 16:50:14 -08:00
Cargo.toml cpython-ext: add a PyPath type 2020-01-27 16:50:14 -08:00