Skip to content

(alert deprecated): Core.Sys.is_directory [since 2021-04] Use [Sys_unix] #155

@mimoo

Description

@mimoo

I'll write my investigation following this error message as a thread, perhaps it can serve as feedback for the user experience of using this library (or ocaml more generally)

I'm getting this error message

(alert deprecated): Core.Sys.is_directory
[since 2021-04] Use [Sys_unix]

the message seems weird, as it seems to imply to move to a function that will only work on unix systems.

anyway, I am on a unix system, so screw windows I guess. So I tried using Core.Sys_unix.is_directory but it doesn't seem to exist.

usually I would expect the error message to link me to more information, but no so I'm still digging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    forwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions