Skip to content

Choose a tag to compare

@talex5 talex5 released this 19 Aug 13:48
d3c8dd9

CHANGES:

New features:

  • Windows paths support (@avsm @kentookura @talex5 @dra27 #913 #916).
    Previously, an Eio.Path.t always used POSIX-style paths, using / as the separator,
    but this didn't work well on Windows, especially with absolute paths.

  • Pre-connect socket options (@avsm @art-w @talex5 #875).
    Eio.Net.connect now has ?bind_to and ?options arguments for pre-connect configuration.
    Allows an outbound socket to be configured before connect or listen.

  • Add Eio.Path.of_dir (@talex5 #919).
    Just a convenience function.

Bug fixes:

  • Fix handling of empty paths when using fs unconfined (@talex5 #907, reported by @samoht, reviewed by @avsm).

    Some path operations could end up using a path of "" which resulted in an error.
    This was breaking Path.mkdirs if only the base directory already existed.

Code cleanups and performance: