Closed kentookura closed 4 months ago
If basename contains backslashes, it will return the string unmodified: https://github.com/ocaml-multicore/eio/blob/37840760b1b99fd9f59f0dbced315c72f08e639d/lib_eio/path.ml#L52-L65
Backslashes are just normal filename characters for an Eio.Path:
Eio.Path
https://github.com/ocaml-multicore/eio/blob/37840760b1b99fd9f59f0dbced315c72f08e639d/lib_eio/path.mli#L27-L28
If basename contains backslashes, it will return the string unmodified: https://github.com/ocaml-multicore/eio/blob/37840760b1b99fd9f59f0dbced315c72f08e639d/lib_eio/path.ml#L52-L65